What is the warning level you use while compiling QT projects?
When I compiled with W4, I'm getting a lot of warnings such as:
C4127: conditional expression is constant
Should I compile at W3, or find other ways to handle warnings at W4, such as: adding a new header file and using pragma's(mentioned here C++ Coding Standards: 101 Rul...
Is there a straightforward way to embed the Python interpreter in a Qt application? I am hoping for a cross-platform solution if possible.
...
Hello all,
I am creating an installer to deploy some application .and I am getting following problems
I want all applications shortcut get created in start menu under a common name like MS Office:
**Start MENU->CMKIT->gcompris
->open office
->Scratch****
but I am not able to do this.
A p...
So I have the following HTML and am trying to change which item is selected.
<select name="coolselectbox">
<option value="default" selected="selected">---</option>
<option value="something">Something</option>
<option value="something-else">Something Else</option>
</select>
Here's what I've tried:
QWebElement defaultOpt =
...
Hi,
I'm writing a qt browser plugin. I have a worker class that inherits QThread. The weird thing that is happening to me is, the run() is called when i call a thread.start() in my machine. But when i run the same code in another machine, the code crashes when the thread.start() is invoked. Im totally confused.
Any help would be apprec...
hello everyone,i would like to know is there any way to select only some directories and some files at a time using qfiledialog class.here i set filesfilter..but i also need to set folder filter i mean i want only certain/some folders to be selected of name (i mean i need a filter for folders too.. coz i hav a common format for my applic...
What is the best way to show a list of downloads using QT4?
1 QListWidget
2 QTreeWidget
3 QTableWidget
Thanks
...
My Qt application uses Q_ASSERT_X, which calls qFatal(), which (by default) aborts the application. That's great for the application, but I'd like to suppress that behavior when unit testing the application. (I'm using the Google Test Framework.) I have by unit tests in a separate project, statically linking to the class I'm testing. The...
How do I set line spacing after a wordwrap in QTextBrowser? Ie. how dow I set line height?
...
What is exactly richtext and how do I format data in richtext in QTextEdit?
...
hello
i want to add a headers and index to a list in pyqt , it's really not important what list of QT (qlistwidget , qlistview , qtablewidget, qtreeview)
in short .. i want something like the spin box delegate example in the pyqt demo ...
but instead of the index in the column headers i want a strings ...
hope the idea is clear en...
How do I set line height in QLabel when in WordWrap mode?
...
How do I set color of text and background of a QLabel?
...
Hi I started writing some tests with Qt's unit testing system.
How do you usually organize the tests? It is one test class per one module class, or do you test the whole module with a single test class? Qt docs (or some podcast that I recently watched) suggested to follow the former strategy.
I want to write tests for a module. The mod...
Hi All,
I've been trying to get Qt working (QCreator, QIde and now VS2008).
I have sorted out a ton of issues already, but I am now faced with the following build errors, and frankly I'm out of ideas.
Error 1 error LNK2019: unresolved external symbol "public: void __thiscall FileVisitor::processFileList(class QStringList)" (?proce...
Does Qt have a set of standard icons? (Like for Back,Forward, etc.)
How would I add these to a button or toolbar in Qt Creator/Designer?
...
I'm writing a stream to a file and stdout, but I'm getting some kind of encoding like this:
\u05ea\u05e7\u05dc\u05d9\u05d8
\u05e9\u05e1\u05d9\u05de\u05dc
\u05e9\u05d9\u05e0\u05d5\u05d9
\u05d1\u05e1\u05d2\u05e0\u05d5\u05df
\u05dc\u05d3\u05e2\u05ea\u05d9
\u05d0\u05dd \u05d0\u05e0\u05d9
\u05d6\u05d5\u05db\u05e8
\u05e0\u05d...
I have a QThread derived class that communicates with the main thread by sending QEvents to it.
What is the best way for the main thread to communicate with the second thread?
The main thread has a pointer to the second one.
...
I want to do something which will access network when a QMainWindow is ready.
I suppose I should not do it in the constructor, so I try to find a signal the widget will get and try to implement something like a OnReady() call back in other UI library. But I still can not find a way to do this.
Thanks a lot in advance.
...
I'm looking for free memory leak detector for Qt. I use Qt Creator 1.3 with Qt version 4.6 (32 bit). The platform is Windows 7 Ultimate.
Thanks.
...