CMake and Multiple Builds
Right now, Qt Creator + CMake doesn’t handle multiple builds. CMake can handle this just fine; you simply run CMake to generate different makefiles in the respective output directories, passing the...
View ArticleForum login is annoying
When I registered as a user of these forums, I was asked for my email address, nickname and password. When I attempt to login I’m asked for my username. I didn’t think I had a username. It seems that I...
View ArticleType errors using QInputDialog()
I am cutting and pasting examples that work into my app and I get these errors. Traceback (most recent call last): File “/home/me/scripts/ghf/ghf.py”, line 295, in bkill QtCore.QDir.home().dirName())...
View ArticleIssue with shared resource management
In a desktop application there is a case when user can refer to a shared resource (image) when that resource is attached to another process which is not finished. In that case the resource should be...
View ArticlePlz. explain about the style's in Qt [QSS, QStyle]
I have the Qt widget-based application, and I want to create a modern UI. In the internet I found the file with QSS styles, that I want to use as base. But bumped with the following problem: My...
View Articleqtoolbutton stays pressed until mouseover
I have widget that pops up when you press a button in my app. As children, my widget has a collection of qtoolbuttons set to autoraise. When you click on one of these buttons, the popup widget...
View ArticleWindow with WindowStaysOnTopHint covers its modal child dialog on Mac (Qt 5)
Trying to move to Qt 5.2 from 4.8.5. Main window has WindowStaysOnTopHint flag, another modal dialog blocks interacation with main window, but is displayed underneath it. This behaviour didn’t appear...
View ArticleRemoving of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)
Removing of WindowMaximizeButtonHint in Qt5.2.0 (was ok in Qt4) makes window/dialog non resizable on Mac. 10.9.1. Is that normal or is it a bug? Is there any workaround? Thanks.
View ArticleHow to fix screen orientation to landscape in Quick 2 ?
Hi all, I have written a simple QML game and it runs on my Nexus 7 (API 14). The game is designed to play in landscape mode and I want to fix it. That means if I rotate my Nexus the screen should also...
View Article[SOLVED] NumberAnimation on doesn't work.
I’m trying to animate an aliased property: property alias blah: cloudRotation.angle; // assume this line is correct; ...
View ArticleCompile issue Windows SDK 7.1 (Windows 7 64bit)?
Hi, I have strange problem with compiling my project with Qt Creator. Right now i’m using Qt Creator 3.0 and Qt 4.8.4 with Windows SDK 7.1 (ms2010). Project is working if i compile it in linux, or in...
View ArticleHow to create menus & events in QT without using Goto slot option?(Right...
How to create menus & events in QT without using Goto slot option?(Right click on it and choose “Go to slot”)
View ArticleQt Quick Unusable due to crash in QSGOpaqueTextureMaterial::compare on Win7
I am seeing a crash with QtQuick that is making my application unusable on windows. This is very frustrating. The app runs fine on linux, but the target machine is a win7 embedded platform. Here is the...
View ArticleHow to cancel autoScroll in QTreeView?
Hi! I have the QTreeView table. In this table alltimes add new items. My table autoscroll to new item. How to cancel it? Only user must to scroll table. I used setAutoScroll( false ), but it doesn’t work.
View Articleapplication crash when close dialog
All code here header file: namespace Ui { class DlgSetupOther; } class DlgSetupOther : public QDialog { Q_OBJECT public: explicit...
View ArticleCreating a firewall based on keywords
Hello I want to create a firewall to be able to block webpages having certain keywords. Is it possible with Qt? Kindly give me a direction. I tried using Windows Filtering platform but since it’s not...
View ArticleStart process within other's environment
Hi Folks, I write a little tool that execute two scripts automatically. The modification of the scripts are not allowed. The first script set some environment variables that are used by the second...
View ArticleMultiple windows signal slot problem
Hi guys, happy new year! I am a very new bird with Qt and am writing a small project with 2 windows: a preference window and a bargraph window. In preference window you can change the configurations...
View ArticlecreatePlatformOpenGLContext error
I am trying to run one QtQuick2 project on nitrogen board with following commnad ./app -platform linuxfb. everytime i am getting the following seg fault. QIconvCodec::convertFromUnicode: using Latin-1...
View Articlehow to not close socket?
i see this web— http://doc.qt.digia.com/solutions/4/qtservice/qtservice-example-server.html but we need close socket when send messgae to client ? how to not close socket?
View Article