On Vista Ultimate (No SP), I installed Qt Creator 1.3 from Nokia, using the Windows Binary installer. When I tried running it, I got a side-by-side error saying:
"The Application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."
The Event Viewer Logs showed:
"...
Hi
I'm having the following class hierarchy:
class IStorage {
[...]
}
Q_DECLARE_INTERFACE(IStorage, "ch.gorrion.smssender.IStorage/1.0")
class ISQLiteStorage: public IStorage {
Q_INTERFACES(IStorage)
[...]
}
Q_DECLARE_INTERFACE(ISQLiteStorage, "ch.gorrion.smssender.ISQLiteStorage/1.0")
class DASQLiteStorage: public Q...
I remember when messing around with Qt seeing something where it was like
class MyForm : QDialog
{
}
Instead of
class MyForm
{
void SetupUi(QDialog* dialog);
}
How do you generate the inherited form?
...
I have a QTreeView subclass (and QAbstractItemModel subclass) which has a nice horizontal header. I would like to add vertical headers (going down the left side) to match. But unlike QTableView which has separate vertical (setVerticalHeader()) and horizontal headers (setHorizontalHeader()), QTreeView only allows a single header (setHeade...
My girlfriend asked me if there was a tool (actually, an IDE) that would let her create her GUI visually and edit functions associated with GUI-related events with little effort.
For example, she wants to double-click a button she just created and immediately see (and edit) the code associated with that button's on-click event. I believ...
This is a followup to this question How to create a subdirectory for a project in qt-creator?, where the first answer didn't work for me.
I resolved it by manually writing every file into the main .pro file, which is not that much harder, but I still wonder - how exactly .pri files work, and why the solution linked above didn't add the...
hello. I'm trying to run a method on the GUI thread using QMetaObject::invokeMethod, which returns true. But, if I use Qt::QueuedConnection my method never gets called (even if invokeMethod returns true).
This is what I'm using:
QMetaObject::invokeMethod(this, "draw_widgets", Qt::QueuedConnection)
I don't get any error messages or an...
Hi. Is there any notification I can use to determine whether a QMovie is playing or not?
...
Hello, I'm using QTreeView with QDirModel like this:
QDirModel * model = new QDirModel;
ui->treeView->setModel(model);
ui->treeView->setSelectionMode(QTreeView::ExtendedSelection);
ui->treeView->setSelectionBehavior(QTreeView::SelectRows);
This works fine, however, I'm not sure how to get the details about the files I select. I've got...
I am unable to read the answer for this from the QT manual so hopefully someone here can help me.
There is a COM event described like this :
Event OnlineStatus(pUser As IUser, ByVal Status As TOnlineStatus)
where TOnlineStatus is Enum with members like "Constant olsAway = 2".
How do I connect a slot to that event if I am using the ...
Is there a color picker dialog for Qt like the following?
Also it needs to have a OnColorChanged signal which is called when ever the selected color changes. I want to give a live preview when they are changing the colors, that is why.
Using google I could only find this one that was a triangle in side of a circle and personally I th...
Hello,
I am using QTabWidget in my project. Is there any stron reason I should use QTabBar and not QTabWidget?
What advantages I have if I use QTabWidget?
Thanks,
Rahul
...
I've got a long horizontal QLabel displaying a png (the image shows a signal/time graph). Under that, I've got a QTableWidget. Both of these are in a QScrollArea because I want them to stay vertically aligned (the cells in the table correspond with the signal seen directly above them). I'm trying to add a handler to the QLabel such that ...
I want to send an event to an Qt Application named "Video Player" from Qt Server when any of the running application 's any widget gets Paint Event.
How to do it?
...
Hi
i'm developing a small prototype of a desktop application using Qt and Python because i would like to distribute it in a multiplatform way.
A friend of mine is annoying me on messenger because he claims that there are not known cool mainstream desktop apps developed with Qt and python technologies so, what i am doing, is just an exerc...
Qt objects which are allocated with new are pretty much handled for you. Things will get cleaned up at some point (almost always when the parent gets destructed) because Qt objects have a nice parent child relationship.
So my question is this: given that some widgets exist for the life of the application, is it considered good/beneficia...
During a paint event, How can I reuse previous paintings so that I can just paint on top of the previous result. Right now the whole rendering area needs repainting.
gonna try QPixmap.
Do I absolutely need to use update?
...
I am porting an application from QT3 to QT4, and keep running into problems when a thread is updating a QProgressDialog. The original code was roughly designed like so:
class ScanProcess : QObject{
Q_OBJECT
public:
QProgressDialog* progress;
private:
ScanProcessThread* thread;
};
class ScanProcessThread : QThread {
Q_OBJECT
public:...
We have an existing C++ application which uses WinAPI (let's call it "SvcApp"). We have another C++ WinAPI application called "MgrApp" which installs and starts "SvcApp" as a Windows service.
However, we'd like to replace "SvcApp" with a Qt application. I may be misinformed, but it seems like it's not possible to use <windows.h> from a ...
Is there any way to use the signals without MOC and without the connecting via names? My one problem with Qt is that you have something like
this->connect(this->SaveBtn, SIGNAL(click()), SLOT(SaveClicked()));
And there is no error detection to tell that is wrong other then finding out the button doesn't work or searching through their ...