Build on Mac OS X 10.8 for targets >= 10.6 (Snow Leopard)
Hello, I want to build my Qt application on Mac OS X 10.8. However, I want my application to run on Mac OS X 10.6 (Snow Leopard) or higher. My .pro file contains the lines QMAKE_CXXFLAGS_X86_64 +=...
View ArticleQApplication::focusWidget() and QApplication::focusObject()
What’s the difference other than the return type? In addition, in my app the focusWidget() is returning 0 and focusObject() is returning an object to QML textinput. How can that be that both are not...
View ArticleLinux Audio Mess and Qt
Everyone who had to deal with audio in Linux knows that it is a real mess. Now it seems that this mess has infected Qt Audio module on Linux. I work on an audio player based on libsndfile and QT Audio....
View ArticleHelp using Graphics Scene "rubber-band" selection...
I have a Scene that I can export as an SVG file fairly happily… but a feature I would like to include is to rubber-band select a region and export that – and the export is clipped to that region. Is...
View ArticleQWebView. How to make a simple POST request.
Hello! I tried to make a simple POST request using QWebView, but my PHP side saying that it is a GET :( My QT code: ui->mainWebViewInfoWnd-> ...
View ArticleQt::MatchWildcard issue
Hello everyone, I am trying to find a match for a particular string with a wildcard character in a QTree , but the values that I find are not what I would expect. For example, I am looking for ‘_A’,...
View ArticleHow to access other QML elements ?
Hi, is there a documentation or a tip to simple access other elements ID ? because in my case sometime it works ( i think where there is a hierarchical relation ) and sometimes it doesn’t work. How to...
View ArticleQT Creator 2.4.1 - QT 4.7.4With GCC 4.8.0?
Hi, I installed in my mac the gcc 4.8.0. The default folder is the /opt/gcc-4.8.0/ So i changed my path to load the gcc-4.8.0 first. Now if i do the gcc -v it returns the 4.8.0 and no the 4.2.1. But,...
View ArticleDrag and drop QDockWidget to QTabWidget
Hello, I have a QMainWindow with several docked QDockWidgets and a QTabWidget as the central widget of the QMainWindow. The docking/undocking and re-arranging of the dockable widgets works without a...
View ArticleQt 4.8.4 on MAC with openssl 0.9.8 Crash
We have an application that uses SSL to connect to a PostgreSQL (8.4) database server, when SSL is enabled on the server the MAC client specifically is unable to connect. This issue began after...
View ArticleQWebPage/QWebFrame Slowing Down GUI
Hi I’m trying to do some preloading of web pages behind the scenes, and then cache everything to display later. I tried directly creating a QWebPage without displaying it, but that caused some pretty...
View ArticleQt 5 Port - An Introduction to Design Patterns in C++ with Qt(2nd Edition)
Hey all! Currently there are no books written on Qt 5 yet. BUT I am learning Qt 5 with a Qt 4 book, An Introduction to Design Patterns in C++ with Qt [amazon.com] and what I learned is that a lot of...
View Articleshow / hide QFrame ouside main thread
Hiho, I’m programming a game and want to display a menu if the player hits F1 and hide the menu again if Esc is hitten. The problem is that the game crashes as soon as I invoke menuFrame->show()...
View ArticleManual changes in .pro-file cause qmake to throw a "Parse Error"...
The title says it: If I edited any .pro-file the next time calling qmake ends with an error saying “Parse error”. Qt-Creator then shows the first line in the file as the source of that error, because...
View ArticleAn open-source backlighting system Lightpack is on Kickstarter now
Hi guys! I’m Mike, the product lead of Lightpack project [code.google.com]. As early as in 2011 we presented our open source back-lightning device for TV sets and computer screens, that can be made by...
View ArticleQLabel size problems when adding the label to a HBoxLayout
Hi, I know this is pretty basic stuff…… It’s a few hours of experimenting with some widgets and Layouts and reading the docs, yet I still can’t find a solution for this. I simply want to add a label to...
View Articleехе?
вопрос возник: вот я пишу простенькие программы, а как создать .ехе файл? ну то есть я запустить их могу только со среды Creator-а, а как запустить ее отдельно, независимо (например на других патформах)?
View ArticleCompile error from Enumerated data type
I started writing a program in dev-C++ for a game and tried to move my work over to qt creator using microsoft visual’s compiler(qt didn’t like dev’s GCC). When I copied everything over I got compile...
View ArticleDifference between Qt4.8 and Qt5.0 when print pdf
Hi, I had a little code in Qt4.8 used to make a pdf file with barcodes and to print in cards (like credit cards). When my pc died, I installed Qt5.0, adding printsupport and other few modification not...
View ArticleExtract Method Refactoring
According to the documentation [doc.qt.digia.com] the extract method refactoring feature has been added. When I select a block of code the only refactoring option available to me is: rename symbol...
View Article