Flags Windows 7 window always on top INCLUDING the Win7 taskbar (Custom error)
I know a few flags that make the window always on top (eg Qt :: ToolTip, Qt :: WindowStaysOnTopHint, Qt :: Popup), but each time the method is the same problem. By clicking on the start menu, the area...
View ArticleQt 5.1.1 built from git: QWebKit linked with absolute paths
This is cross post for this stackoverflow posting [stackoverflow.com] I just have built Qt5 from sources on Mac following this article [qt-project.org] But all the tools that use QWebKit or...
View ArticleDesktop Components MenuBar
Are you able to style the MenuBar? I found the MenuBarStyle.qml and am trying to use it, but the application returns an error of MenuBarStyle is not a type. I am using Qt5.1.0 RC1.
View Articlehow to create an image of a specific width and height
Halo, I must create a QImage of specified size in inches. For example 6 inches wide and 4.25 inches high. I am using QT5.1 rc on Ubuntu linux. I tried many variations of the following code, but it does...
View ArticleProblem with Qt Creator editor after downgrading Qt Libraries
I needed to downgrade my project from Qt5 to Qt4 (4.8.4 exactly), and now i got a little problem with editor. I have found and installed all that Qt4 needs (MinGW 4.4 and Qt 4.8.4 from qt-project...
View ArticleSplash screen image is not showing up
(I am new Qt user) I am figuring out how to display the Splash screen, and came upon this code https://qt-project.org/forums/viewreply/57388/. Code seems to work fine, but splash image (splash.png) is...
View ArticleQt5 Documentation missing source code
https://qt-project.org/doc/qt-5.0/qtquick/qtquick2-qml-advtutorial1.html (and the following 3 tutorial pages) is missing the source code in all grey boxes. HTML source code excerpt on the client side:...
View ArticleUsing Absolute Positioning of a QWidget inside a QMainWindow
Very new to QT and ask to be pointed in the right direction. Thanks! I have a QMainWindow that is roughly 1280×1024. QScreen *screen = qApp->screens().at(0); QMainWindow* display = new...
View ArticleQT 5.1.0 has supported static compile , How to ?
From wiki we know “Support for static Qt builds making it possible to address those use cases that cannot use dynamic linking” I have tired adding CONFIG += static , but not gonna work . How to compile...
View ArticleLinker cannot find OBJECTS_DIR.obj
Hey all, I am trying to build my own copy of the QT libs on a Win7 machine with MSVC 2010, and whenever I do, I get the following linking error when doing nmake: main.cpp link...
View Article.pro file questions (custom variables, mkspecs and contains())
My environment is Ubuntu 12.04 LTS, with Qt Creator 2.5.2, 64 bits. I’m dealing with .pro file in a project, trying to figure how it works. I’ve found some inconsistences I’d like to ask about. CUSTOM...
View ArticleCreator Indexer broken?
Hi, I have a subdirectory project that I have created in the QtCreator 2.7.1 which contains 20 sub projects (including dll’s and such)… Everything was working great in the creator for the past couple...
View ArticleQRegExp doesn't match strings
Hello: I want a regular expression able to catch strings that start with a pair of repeated letters so I wrote the following: QRegExp beginWithPair("^(\\w)\\1+"); As far as I know It...
View ArticleWhy does Qt (4.8.4 64-bit) have to be in C:\QtSDK?
After some grief trying to set up Qt 4.8.4 for 64bit MinGW in a new directory, I discovered that QtCreator at least really really wanted it to be under QtSDK/. Put it there and now can build. Does...
View ArticleQSystemTrayIcon selected / active icon
Hello, I’m using a QSystemTrayIcon on OS/X for my app (QT 5.0.2) The standard behaviour for apps is to have the icon change when the menu bar icon is selected (usually to an inverted white icon). I...
View ArticleHow to register help files in 64bit QtCreator 2.7?
I just installed MinGW64 and the MinGW-builds build of Qt 4.8.4, which allows me to build 64 bit versions of some existing apps for Windows. It includes a 64bit build of Qt Creator 2.7, which however...
View Articlevideo rendering problem with phonon and QGraphicsScene
Hello. The following code QApplication a(argc, argv); Phonon::MediaObject *media = new Phonon::MediaObject(); Phonon::VideoWidget...
View ArticleQT CREATOR - where do I put the /NODEFAULTLIB:library?
QT gives the errors: LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library...
View ArticleHeap Corruption when using desktop components
Has anyone seen a heap corruption when using the desktop components with Qt 5.1 rc1 msvc2010 _opengl? The following code causes a heap corruption in vs2010 when closing the window. I don’t see anything...
View ArticleQt5 - Python and QML future
Hello, How well does Qt5 & Python work (with & without PyQt5)? Can i program everything in python? Is Q ML just for mobile like devices or is it a general purpose programming language?...
View Article