We're preparing an application using Qt that has a main process that controls the GUI and spawns processes that do the actual data processing. Messages are exchanged between the main process and the data-processing processes using the Qt mechanisms and the stdin/stdout pipes.
Now, in the event that the GUI crashes, the other processes k...
Hello all,
I am using QT 4 (the latest GPL version released by Nokia)
I download QT Property Browser from doc.trolltech.com/solutions/4/qtpropertybrowser/index.html
I am using VC++ 2008, with QT Visual Studio Add-In Installed.
I try to build simple project, under qtpropertybrowser solution.
Here is the error message I obtained :
1>...
I have downloaded the source code for the embedded widget demos from nokia and tried to get it to compile--I end up with the following error:
Compiler (mingw32) message :
In file included from
../../src/basicgraph/qtbasicgraph.cpp:9:
../../src/basicgraph/qtbasicgraph.h:14:17:
QtGui: No such file or directory
The offending li...
I sucessfully added a QLabel widget into the FormWindow and set a pixmap in code, but when examine the property box the pixmap filepath field was empty even if the image did get loaded properly.
The QPixmap struct has no members holding the path, so this info must be somewhere in the Property Box. How can I access it?
If the pixmap fil...
Hi,
I'd like to use the autorepeat feature of the QToolButton class.
The problem is that the instances are created automatically when using QToolBar::addAction() and I can't find a way to reach them: QToolBar::widgetForAction() doesn't seem to work in that case (always returns NULL).
Any ideas?
Thanks
...
After building, Qt Creator puts my output exe in folder "Debug". I want to change the output folder by adding output path to the .pro file. Any idea?
...
I have a QToolbar with toolButtonStyle set to Qt::ToolButtonTextUnderIcon in which I add a QLineEdit through addWidget(). I'd like to have descriptive text under that widget like I do with other buttons, but I don't know how to do it or if it's even possible. I tried:
lineEdit = QLineEdit()
action = self.toolBar.addWidget(lineEdit)
acti...
I would like to popup a menu, when user clicks on an object in QTreeWidgetItem. I though about catching signal contextMenuRequested from QWidget and then retrieving index from the view using itemAt. But this doesn't seem very pretty. Is there any easier way to be able to call a menu on an item inside a view?
...
In Qt, how do I take a screenshot of a specific window (i.e. suppose I had Notepad up and I wanted to take a screenshot of the window titled "Untitled - Notepad")?
In their screenshot example code, they show how to take a screenshot of the entire desktop:
originalPixmap = QPixmap::grabWindow(QApplication::desktop()->winId());
How woul...
So a user suggested getting PyQT.
A quick Google gave me this: Link
Is this GUI Library for pay?
If my development environment is Ubuntu Linux, what should I download on that site. I have no idea.
Please provide links if the site I provided is not correct to what I need. Thank you.
...
I've a simple class with these, also simple, constructors:
audio::audio() {
channels = NULL;
nChannels = 0;
}
audio::audio(const char* filename) {
audio();
getFromFile(filename);
}
(Before it was audio():channels(NULL), nChannles(0), loaded(false){..., I'll say later why this changed...). The function getFromFile sta...
Does anybody know how can I customize title bar of a main window in QT? I would like to make some custom painting over the "normal" drawing.
The QT version I'm interested in is 4.5 or 4.6 (beta)
...
Is any posibility to add widgets in titlebar of QMainWindow?
I try to avoid "emulate" a title bar by making a custom widget for that and hiding the default title bar (from Qt::WindowFlags).
I am using QT 4.5 or 4.6 beta.
...
I'm trying to keep some array data synchronized with the contents of a QTableWidget. I'd like to enable drag and drop reordering (moving items within the table, as opposed to copying), but it's not clear to me how, when the drop event is fired, I can find out what index the item was dragged FROM. Hence, I have no way of knowing what ob...
I've successfully built a program that can read Mifare 1K Card using Qt on Linux. So now, I would like it to run on Windows. From what I've gathered, there's no PCSC-Lite port on Windows and I need to use winscard from Windows SDK. I've downloaded it and I got lots of undefined reference errors from my Qt in Windows (with MingW). For exa...
Not sure if this is SO appropriate so feel free to move. It is an IDE though. :)
I want to try the QT IDE on my Snow Leopard machine but for some reason it's not wanting to install. It freezes even (the installer I mean).
I am downloading the 442 meg file from this page: http://qt.nokia.com/downloads
Anyone know why I can't get this t...
The error I am receiving:
g++ -c -g -I/usr/lib/qt-3.3/include TCPEchoServer.cpp
Product.h:22: error: ISO C++ forbids declaration of âQ_Objectâ with no type
Product.h:24: error: expected â;â before âvoidâ
make: *** [TCPEchoServer.o] Error 1
I'm using QT 3.3.
What am I missing...? T___T
#include <string>
#include <qtimer.h>
#i...
Hello everyone,
I get the following error when building a project in Qt Creator:
**error: collect2: ld returned 1 exit status**
Below is the compile output
**Running build steps for project mw_fe...**
Starting: F:/Qt/2009.04/qt/bin/qmake.exe C:/Documents and Settings/Administrator/My Documents/mw_fe/mw_fe.pro -spec win32-g++ -r CON...
Currently I am having issues with QTimer. I am trying to make each "Product" have a timer and so it will let my "Handler" know that the auction time of the product has ended. The problem that I am having is that from my test, it doesn't seem to print "Timer started".
This is part of my socket programming project. I use select because I ...
Hi Everybody,
I am developing a system for a customer which is displayed in a set of tabs, and shows a table in the centralwidget with data extracted from a database.
Depending on mouse events, the container (groupBox) must be removed from the centralwidget, or then added with new updated data for the table.
Here is a piece of the cod...