Questions tagged [qt-creator]

Qt Creator is a comprehensive open source C++ IDE which is part of the Qt Project.

Qt Creator is a cross-platform integrated development environment (IDE) tailored to the needs of Qt developers.

Features include:

  • Sophisticated editor (Vim- and Emacs-style keymaps, code completion, syntax highlighting and checking as-you-type, code folding, snippets, etc),
  • Wide VCS integration (CVS, Subversion, Git, Mercurial, Perforce), qmake, CMake, and generic Makefiles as build systems,
  • Integrated Qt UI designer
  • Integrated GNU debugger
  • Integrated Maemo & MeeGo device emulation & remote debugging

and more.

Resources:

Books:

4921 questions
185
votes
4 answers

How to add include path in Qt Creator?

I have a project I'm working on in Qt creator that requires a third-party library. I want to add the headers to the include path for the project. How do I do this?
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
155
votes
3 answers

What's the difference between QMainWindow, QWidget and QDialog?

What's the difference between QMainWindow, QWidget and QDialog?
zibib
  • 2,035
  • 3
  • 17
  • 15
124
votes
8 answers

Adding external library into Qt Creator project

How can I add external library into a project built by Qt Creator RC1 (version 0.9.2)? For example, the win32 function EnumProcesses() requires Psapi.lib to be added in the project to build.
Donotalo
  • 12,748
  • 25
  • 83
  • 121
124
votes
8 answers

Qt: can't find -lGL error

I just reinstalled QtCreator, created new project (Qt Application) an got this after compilation: /usr/bin/ld: **cannot find -lGL** collect2: error: ld returned 1 exit status make: *** [untitled1] Error 1 18:07:41: The process "/usr/bin/make"…
Hofmn
  • 1,343
  • 2
  • 9
  • 4
123
votes
8 answers

Qt Creator - Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild

I just installed Qt 5.5 and am using Qt Creator for the first time on OS X. When I first installed Qt, it gave me an error message 'Xcode 5 not installed' which I thought was strange, (I have the Xcode 7 beta), but the install completed…
123
  • 8,733
  • 14
  • 57
  • 99
113
votes
11 answers

How to create a subdirectory for a project QtCreator?

I would like to divide my Qt project into several directories because it is growing pretty large. However, when I click on browse in QtCreator, there is no 'Add directory' and no such thing in 'Add new'. Can this be done somehow?
gruszczy
  • 40,948
  • 31
  • 128
  • 181
95
votes
11 answers

QtCreator: No valid kits found

Installed just the IDE on Windows 7. I want to create a Plain C++ Project (Non-QT Project); however I get an error: No valid kits found. When I click on Options->Kits, I see the Desktop (default) kit, and it shows no errors. Am I getting the…
Agrim Pathak
  • 3,047
  • 4
  • 27
  • 43
92
votes
9 answers

Qt Creator color scheme

I like the dark "FakeVim" color scheme in Qt Creator. However it only makes the editor part dark while everything else stays normal, which is a bit disturbing. Is there any way to make such dark scheme global for Qt Creator? Vim (dark) Color…
user44556
  • 5,763
  • 5
  • 30
  • 27
88
votes
4 answers

Qt Designer vs Qt Quick Designer vs Qt Creator?

I have seen references to all three of these applications on various parts of the Qt website but am completely unclear as to the exact differences between them and whether they are actually separate things or just different names for the same thing,…
temporary_user_name
  • 35,956
  • 47
  • 141
  • 220
83
votes
4 answers

QtCreator and Command Line Arguments

Is there a way to send command line arguments to a program being debugged in QtCreator?
paul simmons
  • 5,568
  • 13
  • 51
  • 78
74
votes
3 answers

Configuring the GCC compiler switches in Qt, QtCreator, and QMake

I recently tried to use Qt Creator 1.3.2, Qt 4.6.2, and GCC 4.4.0 (32-bit version) on Windows 7 (64-bit) to compile an application using some of the experimental C++0x extensions and encountered the following (fatal) error: This file requires…
andand
  • 17,134
  • 11
  • 53
  • 79
72
votes
8 answers

How to find Version of Qt?

How do I know which version of Qt I am using? When I open Qt Creator it shows "Welcome to Qt Creator 2.3". In the build setting, however, it shows Qt Version 4.7.1.
user3472783
  • 743
  • 1
  • 6
  • 7
62
votes
4 answers

How to change a project's name in QtCreator?

Is there a way to change a .pro , .ui and .h names if the project is done? How to do it?
sunset
  • 1,359
  • 5
  • 22
  • 35
61
votes
3 answers

Unknown module(s) in QT: svg

Added QT += svg and I tried just QT += svg and greaterThan(QT_MAJOR_VERSION, 4): QT += svg to the .pro solution file and ran qmake from inside the QtCreator and got this error: error: Unknown module(s) in QT: svg Any ideas?
user3191398
58
votes
3 answers

Where does Qt Creator save its settings?

I would like to locate the folder where Qt Creator saves all its settings (text editor preferences, syntax highlighting, etc.) so that I can back them up. Does anybody know where they are?
laurent
  • 88,262
  • 77
  • 290
  • 428
1
2 3
99 100