Skip to content.
Skip to navigation
Site Map
Accessibility
Contact
Search Site
Advanced Search…
Trolltech
Sections
Home
Products and Services
Solutions
Developer Resources
Company
Downloads
Personal tools
You are here:
Home
→
Developer Resources
→
FAQs
→
Qt
Section navigation
Developer Resources
doc.trolltech.com
Trolltech Resources
Community Resources
New to Qt
Webinars and Videos
Books about Qt
FAQs
General
Licensing
Qt
Modules
Qt Assistant
Qt Designer
qmake
QSA
Installation
Qtopia
Tasktracker
Qt Jambi
Add-ons
Support
Downloads
Bug Tracker
Document Actions
Qt
Search Qt
Up one level
All the faqs in Qt
View by Category:
Modules
Qt Assistant
Qt Designer
qmake
QSA
Installation
How can I draw one of my menu items, e.g Help, to the right in the menubar ?
How can I build 64 bit Qt on a 32 bit system ?
Is there a limit to the number of widgets I can create on Windows ?
How can I change the icon for the sort indicator and its position in a QHeaderView?
I get errors when building my Qt/Windows project where one of my paths appears to be cut off, what can be wrong?
How can I prevent a window from becoming active when clicking on it on Windows?
I am getting linking errors when trying to link against msvcrtd.lib. And when linking against libcmt.lib the application crashes. What can I do ?
My executables are very large on the Mac. How can I prevent this ?
When setting a pixmap with an alpha on a widget, how can I remove the widget's gray edges that shine through?
Is is possible to run Qt 4.3 applications on Windows XP Embedded ?
Can you suggest a tool which we can use to track down memory leaks in Qt?
How can I create checkable items in a QTreeWidget?
In what ways does Qt integrate with Microsoft Visual Studio?
How can I get debug output from my Qt applications?
How can I make both the item picture and the item text transparent in the drag icon so that user can see what is under the drag icon?
How can I handle events in the titlebar and change its color etc ?
How can I position the column and row labels in an QTable centrally ?
When setting a background pixmap for a widget, it is tiled if the pixmap is smaller than the widget. Is there a way to avoid this?
How can I implement drag and drop in my QListView in Qt 3?
How can I change the header text of my model based view?
How can I avoid drawing the focus rect on my buttons?
Qt installed ok, but I have a problem running so-and-so application.
When I compile my Qt based program I get a parse/syntax error in one of Qt's header files. What's wrong?
How can I buy Qt?
Why would I want to move my application away from the Microsoft Foundation Classes (MFC)?
Moving my application away from MFC, why would I select Qt as the toolkit to move to?
Can you point me to any comparisons between MFC and Qt?
What is the difference between a static and a shared build of the Qt library?
Is there any assistance available with porting from MFC to Qt?
What is Qt?
How can I evaluate Qt?
What kind of technical support is available for Qt?
Are there any books about Qt programming?
How many developers use Qt?
How can I implement drag and drop in a QTreeWidget?
How can I add a non-resource image to a QTextDocument ?
When using Qt with STL it crashes with a memory access exception, how do I fix this?
We would like to use Linguist with an MFC application, without converting MFC to Qt. Is this possible?
How can I make the tab key go from an editable combotableitem to the next cell in a QTable?
How to add <?xml version = '1.0'?> to the beginning of a QDomDocument?
How do I create a default size for the rows in a table view?
The compilation of the Qt library fails because the compiler does not find the system header files (e.g. stdio.h or windows.h). Do you know what the problem is?
When building with Visual C++, it uses a different copy of a specified file that has the same name. How do I fix this?
I am having problems displaying overlays on Linux with my NVIDIA card. The same code works on windows.
Is there a way to specify build dependencies for Visual Studio 2003 and 2005?
How can I align the checkboxes in a view?
Does Qt provide an API for storing encrypted data ?
Is it possible to set a header and footer when printing a QTextDocument?
Is there a listing of the details of the changes in Qt 4 and what needs to be done to migrate from Qt 3.3.x to Qt 4?
Intellisense does not work for my Qt application. What's wrong ?
How do I add a custom Info.plist to my Mac application with qmake ?
I am experiencing random crashes when running my application on Windows, what can be wrong ?
Is there a way of sizing the window so that it is never overlapped by the taskbar (or it doesn't overlap the taskbar)?
Why does the error message "The peer did not present any certificate" appear even though it has one when using QSslSocket?
Is there a way to make a menu in a QMainWindow that automatically redirects standard commands to the current widget ?
How can I trigger the parent widget to resize when its child widget is resized programmatically?
How can I open my .html file in a browser?
How can I translate the OK and Cancel buttons when using the static QMessageBox functions?
When running a Qt application on the French translation of Mac OS X, "About" shows up instead of "A propos" in the application menu. What is wrong ?
I use a shortcut for interacting with a widget in my QTest::keyClick() function and the test fails. What can be wrong?
How can I know which filter a user selected in a QFileDialog ?
How do I set the width or height of the header sections in a view?
How can QTextCursor be used to select a row in a QTextTable?
How can I sort the items in a QTableWidget on multiple columns?
How can I have a partially transparent pixmap on my toplevel window?
Which compiler and debugger can I use with the Eclipse C++ Integration on Windows ?
How can I resize a QDockWidget programatically?
How can I instantiate new objects in my Qt Script code ?
Why does a statically built Qt use the dynamic Visual Studio runtime libraries ? Do I need to deploy those with my application ?
How can I catch Alt+F4 in my Qt application ?
How do I set the width or height of the header sections in a view?
How do I create a sln from a SUBDIRS template?
QPushButtons with a height set to 20 or smaller are not clipped correctly on the Mac, how can this be solved?
How can I change the color of the items in a QListBox?
Why is QHeader::setLabel() so slow in large tables in Qt 3.x?
The stand alone designer opens when clicking on a .ui file in the Qt Visual Studio 2003 Integration, shouldn't the form appear in Visual Studio instead
Who implements the antialiasing? You or the platform?
How can I create a dialog that can be closed programatically, but not by the user ?
When setting a global color group on my Mac everything goes black. What is the problem?
How can I create a default pushbutton without the default frame ?
How can I detect a period of no user interaction?
How can I draw shadows behind windows ?
I would like to detect if the expansion sign has been clicked in my QTreeView. How can this be achieved?
How can I get/set the max length of a QTextEdit ?
How can I get rid of the sizegrip of a window on Mac OS X ?
How can I debug the Qt source files when running my application inside Visual Studio ?
How can I use plugins in a statically built Qt library in Qt 4?
How can we create a binary on Leopard that runs on both 10.4 and 10.5?
How can a menu be removed from a menubar?
How can I dynamically switch between languages in my application using e.g a QComboBox?
Why do ActiveQt controls no longer work after an upgrade to Internet Explorer 7?
How can I export changes made to a project inside Visual Studio to my .pro file ?
Do you provide a tool for creating graphs?
I use a Qt-plugin in a non-Qt program on the Mac. When unloading the plugin, the application's menubar is deleted. What's going wrong ?
Is there a way to remove the checkbox from a QTreeWidgetItem?
How can I prevent the clicked() signal from being emitted when I want to grab the doubleClicked() signal in my item view ?
Can you recommend a testing framework to use together with Qt?
QScriptEngine::uncaughtExceptionNumber() is returning 0 even though the error is elsewhere. What's wrong?
When 2 views share the same model, how can the views get different values for some of the Qt::ItemDataRole roles ?
When using fromWinHBITMAP() to create my pixmaps, they appear with a black background. What's wrong ?
When converting my pixmap to a HBITMAP using toWinHBITMAP(QPixmap::PremultipliedAlpha ) , they appear with a black background. How can I give the icons a transparent background?
How can I programatically find out which rows/items are visible in my view ?
When building Qt 4.2 with MSVC 2005 and Service Pack 1 I get compile errors with QMap and QHash, how can I fix these?
How can I draw custom subcontrols for a complex control ?
How can I convert a QString to char* and vice versa ?
Displaying a big pixmap or image does not work. How can this be fixed?
lupdate has problems translating classes which are using a namespace, how can I solve this ?
Is it possible to have no icons in the menu when using actions but use the same actions on a toolbar and have an icon there?
When QHttp::post() is called it doesn't seem to post a request, what is going wrong?
How can I embed e.g a QMainWindow inside a QDialog ?
How can I use one horizontal scrollbar to scroll several QGraphicsViews ?
Why are the changes made in the Language tab in the International settings not respected on the Mac?
How can I draw vertical text?
How can I make a QComboBox have multiple selection?
How can I span the headers in my QTableView ?
My Windows build of Qt stops and complains that one of the plugins can't be opened. What's wrong ?
How can I modify the color for individual words for items in a view?
How can I sort a QComboBox?
When creating a library with Qt/Windows and using it in an application, then there is a link error regarding symbols which are in the library
My application's plugins won't load on some Windows machines, what can be wrong ?
When dragging and dropping between 2 views, how can I perform a move without pressing Shift ?
Who provides training for Qt?
How can I modify the color of some of the rows in my view ?
Is there a way to make my Qt Windows static application smaller?
Does qmake have support for pkg-config?
How can I change the margins of my QTextDocument ?
You frequently say that you cannot add this or that feature because it would break binary compatibility. What does this mean, really?
When the FileMode is DirectoryOnly in my QFileDialog, how can I select multiple directories?
When popping up a context menu, how can I get hold of the cell where the menu popped up in my view?
When building Qt on Panther with a QuickTime version later than 7.0.1 installed, I get a linker error. What's wrong?
When running my application I get the following error:"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem". What is wrong ?
How can I draw shadows behind text?
How can I prevent the view from scrolling when the user selects an item in a view in Qt 4?
How do I setup a database driver with Qt on Windows?
How can I tell qmake to have more than one target in a directory?
How can I specify a default location and file name that will be used if a user selects print to file, but not have "print to file" as the default option ?
How can I translate the application menu on the Mac ?
When keeping a key pressed down, then I receive a number of keyReleaseEvents() in addition to keyPressEvents(). Why is this happening and what can be done to only get a mousePressEvent() ?
Some graphics cards don't seem to work well with OpenGL in Qt, is there a list of known issues?
How do I make text follow the line/curve and angle of the QPainterPath?
How can I ensure that a horizontal scrollbar and not an ellipse shows up when resizing a column smaller than its content in a QTreeView ?
How can I specify the spacing between the text and the icon for an item in a view?
Is it possible to have partially transparent top-level windows in Qt ?
Is Qt binary compatible?
I think I have found a bug in Qt. Where can I report it?
How can I prevent the text in a QComboBox's dropdown from being clipped when the QComboBox is smaller than the text?
How can I make the non-slot and non-property members of an object available to the script engine ?
My Qt/Windows application is running out of user handles, as the application contains a huge amount of widgets. What can be done about this ?
"MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library" -- What does this mean and how can I fix it?
How can I get the user desktop path on Windows?
How can I do multiselection in a QCalendarWidget ?
How can we remove properties from custom widgets in Designer?
When doing Qt | Open Solution from .pro file in Visual Studio 2005 I get an error saying the sln file is from a previous version of Visual Studio and must be converted, what can I do?
Why is it not allowed to copy QObjects?
How can I traverse all of the items in a QStandardItemModel ?
How can I add version information to my Qt/Windows application ?
Is is possible to run Qt applications on Windows XP Embedded ?
Which major corporations use Qt?
Is there a mailing list for Qt?
Is Qt's documentation available online?
Is there a technical newsletter for Qt?
You say I can program for multiple platforms with one source tree with Qt. Do I need cross-compilers or special tools?
How does Qt integrate with my existing development environment and other development tools?
Are any benchmarking and performance measurement tools used?
Purify complains about UMRs (Uninitialized Memory Reads) in the QGDict constructor? Is this a bug in Qt?
Purify found a memory leak in qapplication_x11.cpp. Why don't you clean up the XIM (X Input Method) structure?
When a signal is emitted, will all of the slots attached to it be executed before the emit returns? Or are the slots just scheduled to be executed whenever convenient?
How do I make a Qt application make a 'beep' sound?
How can I add support for large files in Qt?
Why do you provide container classes as an alternative to STL in Qt?
Should one use qApp or QCoreApplication::instance() when referring to the application object?
Does Qt provide translations for the user visible strings of the widgets?
Which UML modelers can be used to perform reverse engineering on code written with Qt?
Parentheses show up incorrectly for English text in a right-to-left application. What is wrong?
Is it possible to have transparent Qt widgets on top of a QGLWidget?
I am trying to set a minimum size on my dockwindow, but it does not work. The undocked window can be resized to nothing. How can I get this to work?
I want to change the style for one of my widgets, but I want the rest of it to follow the applications style without worrying about what the original style is.
I get a link error saying "uuid.lib(shguids.obj) : fatal error LNK1103: debugging information corrupt; recompile module" when building Qt
How can I display rich text in a QTable?
How can a QModelIndex be retrived from the model for an internal data item?
I am unable to set a fixed size on my dialog, how can I do this?
How can I use multicast sockets with Qt?
I am having trouble using debug frameworks on Mac OS X, it iseems to assert inside an Apple framework before calling any of my code. What can I do?
When trying to use Oracle in my application I get an error message saying "QSqlDatabase: QOCI driver not loaded". What's wrong?
Why is the debug version of my application so slow?
How can I make the scrollbar thinner ?
In Qt 3, how can I customize my What's This text depending on which widget is clicked?
How can I make one of my toolbars appear on the right hand side of the topdock area?
Is there a way to tell QTreeView to always resize itself based on the contents of all columns?
How does Qt pick a font for the application?
In Qt 3, how can I sort a QListView by date?
How can I change the color of the items in my model?
When building Qt using MinGW I get the following error: Makefile.Debug:24691: *** multiple target patterns. What can be wrong ?
How can I change the name of the Qt dlls ?
Is it possible for either the left or right dock areas to have full height of their side rather than having the bottom take the full width?
How can I cross compile my Qt applications ?
I have a dialog that I would like to be able to close programmatically, but I don't want the user to be able to Esc or Alt-F4 or otherwise close the dialog. Could you recommend a best way to configure the dialog to achieve this?
How can I do drag and drop in a widget in Qt 4?
How can I change the color of the items in my model?
How can I stop the table from being selected when clicking in its top left corner?
A QTreeWidget is sorted alphabetically by default, how can I change this behavior, e.g to sort numerically instead ?
How can I align the text and icons in an itemview?
setClickable() and setSortIndicatorShown() affect the entire QHeaderView, is there a way to have it affect only certain sections?
When I set a font/palette explicitly for a QLabel on the Mac, then it is respected. If my QLabel only inherits the font, then it is ignored. What is the reason for this ?
Is it possible to reimplement non-virtual slots ?
Why doesn't Mac OS X respect carriage return (\r)?
Powered by Plone CMS, the Open Source Content Management System
This site conforms to the following standards:
Section 508
WCAG
Valid XHTML
Valid CSS
Usable in any browser