QWebPage setContent -> don't load images
Hello, I have a problem with the function “setContent”. I want to create a HTML page from different html files: if(listnews.isEmpty()) { ...
View ArticleAccess dynamic created ListModel elements from C++!
Hi all, how I can access from within C++ the elements of a ListModel? I write a application with a ListView. The content is set by an ListModel which is set dynamically during runtime. This is...
View ArticleRemoving Separators from QHeaderView
Hello everybody. I am using a QTreeview with multiple columns in one of our projects. In this TreeView, some columns build a logical group and I just wondered if there is a way to eliminate the...
View ArticleQ_STATIC_ASSERT & Q_STATIC_ASSERT_X compilation problems on Visual Studio 2010
I develop and maintain a very large opengl application, written using qt library. I’m switching from qt 4 to qt 5. I downloaded the qt 5.0.0 Windows (8) Visual Studio 2010 precompiled package....
View ArticleQmake, mananging large projects with many repostitories
So we started a new project and we are having trouble making a good layout for our project. Part of the problem is we are using mercurial and subrepos, we have a repo that just pulls down our projects...
View ArticleQt cryptography - focused on AES
Hi People, Is it any solution to use AES encryption from Qt library? Contains Qt framework any class which realize AES encryption? Regards, Norbert
View ArticleHow to link MS runtime into Qt core libraries
When building Qt as shared, I see that the MS run-time is a dependency that must reside on the target machine. Can one rebuild the core libraries (4.8.4 in this case) to static link the run-time?
View Articlewhy several rationbutton cannot be connect to same slot?
I used QtDesigner created a interface which includes FD, TD50, TD33 , TD25 four radio buttons in a group. the code generated by UI is layoutWidget_3 = new...
View ArticleQNetworkAccessManager: download page resources
Hi, Qt Project. I had a task to download the whole webpage and store it on the computer. So, I need to download page itself and all its resources (css, img, js). image.png style.css common.js...
View ArticleIs QQmlListProperty(QObject * object, QList & list) safe to use?
The docstring for this constructor [qt-project.org] claims: Generally this constructor should not be used in production code, as a writable QList violates QML’s memory management rules. However, this...
View Articlemacdeployqt for Qt5 not working
Hi All, I tried to deploy my application with the macdeployqt program, and I was running in the following problem: bash-3.2$ sudo /Users/mike/src/qt5/qtbase/bin/macdeployqt tlab.app ERROR:...
View ArticleQtJsonDb connect to remove jsondb server
Good day I’m using QtJsonDb with QtContact, and in the docs, it says that you can connect to local or remote jsondb server JsonDbConnection *connection = new JsonDbConnection; ...
View Articleproblem of making a Timer with QLCDNumber
the following code just makes a Timer with QLCDNumber what I want to do is to show a message dialog when 4s has elapsed since the startup of this program .however when the message dialog pops up , the...
View Articlemultiple QMediaPlayer objects : setVolume affects others
Hello, in my applications i have 2 QMediaPlayer objects and i wanted to do a fade between them. But i just realized that if i change the volume of the first object, then the volume of the second object...
View ArticleUrgent need for help... "Driver not loaded Driver not loaded"
Hi, we have a project that requires our program to be run via networks. When I run the program in this laptop, it runs fine without errors. But when another computer tried to run the program, the...
View ArticleQt5 QSoundEffect Not Working
In Qt5 the QtSoundEffect class does not play any sound, nor does it give any error messages. This occurs on both Windows 7 and Mac. It also does not matter if you try to use SoundEffect through C++ or...
View ArticleQt5 QML Video and MediaPlayer Share Audio?
I have found the audio that plays on the Video element and audio that is played by MediaPlayer appear to be sharing properties, as if this audio is statically shared across both element types (at least...
View ArticleQt5 Mac QAudioInput Hates Multi-threading
I have a QAudioInput that is a grandchild of an object I am pushing into another thread. On Windows this works out fine: When Grandpa gets pushed onto the new thread, Grandpa’s kids and grand kids come...
View ArticleQSerialPort passing received data to GUI
Hi guys, I’d to ask you what will be the fastest way for passing received data (QByteArray) after ReadyRead() signal to GUI (I mean for example QEditBox on mainwindow). The main thread should be loaded...
View ArticleError while building Qwt-6.0.2
Hi All I have Installed Qt-5.0.1 on my windows 7 PC. While building qwt-6.0.1 using MSVC ++ 2010 I am getting error .\qwt_painter.cpp(408) : error C3861: ‘qMemCopy’: identifier not found and some...
View Article