|
I'm now with a idea to start the development of a bare bones Qt/GTK+-like framework, but I want to know some things before I start the creation of this project:
What is the structure of GTK+ and Qt? Do I need to develop a window manager to build my own...
Started by Nathan Campos on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
That sounds like a major....
Not start there?
GTK: git clone git://git.gnome.org/gtk+ Qt: git clone git://gitorious.org/qt/qt.git Ed You ask what the structure of GTK and Qt are, whether you need to write your own widow manager.
|
|
While attempting to link with QT 4.5 release, I run into this error message
fatal error C1047: The object or library file 'c:\qt\2009.02\qt\lib\qtmain.lib' was created with an older compiler than other objects; rebuild old objects and libraries
I have...
Started by Extrakun on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
From the comments in this thread it looks like Qt 4.5.0 now uses the /GL C:\Qt\4.5.1\mkspecs\win32-msvc2008\qmake.conf (or the one that corresponds to your version of MSVC that is created will not have....
But all the examples now run.
|
|
Hi!
I want to create a Qt popup window which will behave like a message box in Qt. That means the rest of the GUI must blocked until that popup window is dismissed. This may be a child question, but can anyone pls help me with this ?
Thanks... :)
Edit...
Started by Morpheus on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Users must finish interacting with the dialog and close it before they can access any other window in the application... .
Modal Dialogs
A modal dialog is a dialog that blocks input to other visible windows in the same application .
You can use QMessageBox.
|
Ask your Facebook Friends
|
Platform: Windows XP, Qt Creator Ide 4.5.2
MySql is setup here as well.
I want to establish database connection with Qt and mysql. The line
QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL");
generates error like below: QSqlDatabase: QMYSQL driver ...
Started by Samir on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The output in my pc as instructed in the documentation is:
*C:>cd C:\qt-win-opensource-src-4.5.2\src\plugins\sqldrivers\mysql
C:\qt:\mysql-5.1.39-win32\include" "LIBS....
See the documentation.
You need to build the Qt/MySQL driver.
|
|
Are there any GUI toolkits built on top of HTML Canvas like swing,swt,gtk or qt? So that it is possible to build applications like applets or flex gui:s inside the html canvas.
Started by Per Arneng on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
XUL is fully.
Never used it, but I know it uses the DOM and a subset of CSS plus it's own CSS-like properties, which when combined with HTML5 features like canvas can make some impressive gui's.
|
|
I realize that there have been similar questions, but they seem to have been from when Qt Creator was still in beta, so the answer might have changed since then:
We are going to start a project with a small amount of GUI that needs to work on Windows,...
Started by Rasmus Faber on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
It also integrates with git, subversion rudimentary refactoring....
It seems like Qt creator has really good code navigation features.
A familiar debugging enviroment across platforms, with support for stuff like Qt collections.
|
|
My initial goal was to get Qt Creator and Visual Studio 2008 to create compatible libraries, so what I've done so far was open a VS command prompt, go to my Qt folder and then run configure.exe followed by nmake to recompile the Qt libraries with VS. ...
Started by Graphics Noob on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then add this QTDIR to....
The path and version will show repository.
Depending on what you downloaded Qt Creator uses gcc but you can specify alternative QT directories under Options > Qt4 > Qt Versions.
If you want the two).
|
|
I am trying to set the background color for a double spin box, and I am not sure what function I should use. I saw some function called SetBackgroundRole which accepts a Qt::ColorRole, but I am not sure how to use this one as well.
Kindly let me know,...
Started by AJ on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I'd try something like
QPalette pal = widget.palette(); pal.setColor(QPalette::Window, Qt::blue be something like this:
QPalette pal = widget.palette(); pal.setColor(widget.backgroundRole(), Qt::blue sure your background color....
|
|
I have a few combo-boxes and double spin boxes on my QT Dialog. Now I need a "ResetToDefault" item on a menu that comes up when you right click on the widget (spin box or combo box). How do i get it. Is there some way I can have a custom menu that comes...
Started by AJ on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Then, set the contextMenuPolicy attribute to Qt;setContextMenuPolicy(Qt::ActionsContextMenu); // here connect the 'triggered' signal to some slot creates the normal context....
It the the widget using the addAction method (or use the designer) .
|
|
Situation: I have tcp client made with Python and tcp server made with Qt. I try to send bytes with my client but I can't get Qt server to read these bytes.
Using Python made client and server, everything works fine. Also I can get my Python client work...
Started by Spitz on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Basically it goes like this:
Read a quint16 that, even if you write the packet length like the server expects, what you're trying to do still won't work a QDataStream to read from the socket....
Field, and following that size worth of data.
|