[SOLVED] How to use "(" character in QRegExp to find matches in string?
I have some HTML code and I want to get links from it. HTML code I have is in QString format and I want to split it by matches as href=” and url(. If I do something like: QStringList lst; QRegExp...
View ArticleQt5 and WinSock.h issue
Hi This is regarding Windows platform – MSVC2010. In my Qt4.8.1 based application I was including BOOST/ASIO headers after including all Qt headers. When I tried to compile in Qt5.0.1 I got error:...
View ArticlePCM Player - QtMultimedia
Hello, I have some problems when using some classes from QtMultimedia. I implemented the example from the page QAudioOutput [qt-project.org]. The debugger says : undefined reference to...
View Article[Solved]install_name_tool of mac can't change the id
I need to let the app know where to find the 3rd party dylib Study a lot of data but still don’t get it With the help of otool otool -L imageInterpolation.app/Contents/MacOS/imageInterpolation otool...
View ArticleAccess dll function with Autohotkey
Hey guys. I’m very net to Qt but not new to Ahk. I’m trying to work with an application (Virtual Jaguar) that uses QWidget controls. Included with the app are the following dll’s : QtCore4, QtGui4,...
View ArticleHow to connect a property signal to a Javascript function.
I’m new to Qml and having some trouble connecting a javascript handler to a property’s signal. I have a C++ object with a property and signal. class CppObject : public QObject...
View ArticleHow to configure stand-alone Creator to work with Qt5?
Hello, I’ve downloaded Qt5 but have problems with crashes in creator(bug report submitted). I’ve not had problems with crashes in the stand-alone 2.6.2 version of Creator. But I’ve not been able to...
View ArticleHow to install module in Qt creator
Hi, I have problem with importing box2D plugin I do not know where I made a mistake. Plugin I downloaded from this site https://gitorious.org/qml-box2d and I drove this manual...
View ArticleWhat's being used under the hood in Qt 5.0.1 QWebView
I think this should be straightforward but I can’t seem to find documentation that spells these things out clearly… I have downloaded Qt 5.0.1 and I’m building it on Windows. I plan to build a simple...
View ArticleCross compiling Qt 4.8 For QNX 6.5 on Windows
I’m trying get QT 4.8.4 compiled to run on QNX 6.5 on a laptop that’s running Windows 7. I’ve been able to find a lot of stuff about how to do this for qt 4.7 and earlier versions and QT 5 Commercial,...
View ArticleHow to pass QDataStream between functions?
Hi I have two functions, A and B. An instance of QDataStream is created in A and it should be passed to B so B can write some data on it. After passing a stream by reference, it seems that it’s not...
View ArticleTichu Counter for Symbian
Πρώτο μου post, πριν λίγο καιρό έμαθα το πως να χρησιμοποιώ C/C++ και έπεσα κατευθείαν στα βαθιά. Αυτό που προσπαθώ να κάνω είναι όπως λέω και στον τίτλο έναν μετρητή πόντων για το παιχνίδι Tichu....
View ArticleQt 5.0.1 : failed to initialize XrandR
Hello. I have a big problem with Qt 5 migration. Qt 5 and our app is installed on a Linux server. Then users telnet to this machine using different small terminals, some of them running old versions of...
View Articlehow to control the instruction set for the target when compiling Qt app?
I am developing on a desktop with Ubutun 12.0 and Pentium 4 CPU, my target is a i586 compatible CPU with open embedded linux. I downloaded qt-everywhere-opensource-src-4.6.4.tar.gz and run “configure...
View ArticleQml variant to custom QtObject
I have 2 different C++ objects using Q_PROPERTY and Q_INVOKABLE for a function, in my qml file I have this: include MyObject 1.0 //from c++ incluce MyInvokable 1.0 //from c++ ...
View ArticleHow much data to send over a network?
I’m not sure if QTcpSocket auto-chunks data or not. I’d like to send about 50 kb of information in one message, but I can’t find any guidelines as to whether or not that is a good idea. I could split...
View ArticlePorting from 4.8.1 to 5.0.1, cannot include multiple libraries
So, I started working on a project when 4.8.1 was the most recent release. Then, I got a new computer and decided to upgrade to 5.0.1 since I wanted to use some of the multimedia features. I’ve ported...
View ArticleCombining Images sided by side using QPainter and QImage
Hi everyone, I’m a beginner when it comes to using Qt and I’m having some problems combining two images by using QImage and QPainter. The code I use is below. QImage...
View ArticlePROPOSAL: Evolving Qt's multithreading API
Hi all, Background I’ve been thinking about Qt’s multithreading API. Currently, Qt’s suggestions for multithreading are: Subclass a worker QObject and move it to a QThread (if an event loop is desired)...
View ArticleProblem building qtWebkit Windows SDK 7.1 64 bit
I followed this http://trac.webkit.org/wiki/BuildingQtOnWindows but failed at “Run perl Tools\Scripts\build-webkit —qt —release”. The error is “Cannot open input file: ‘MainThreadQt.moc’. How to fix this?
View Article