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:

4554 questions
171
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
  • 63,773
  • 66
  • 242
  • 344
132
votes
2 answers

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

What's the difference between QMainWindow, QWidget and QDialog?
zibib
  • 1,775
  • 3
  • 15
  • 15
121
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,116
  • 10
  • 45
  • 87
115
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
  • 11,954
  • 23
  • 75
  • 111
112
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,223
  • 2
  • 9
  • 4
106
votes
9 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
  • 37,239
  • 27
  • 119
  • 167
83
votes
9 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
  • 2,714
  • 4
  • 20
  • 38
79
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
  • 4,703
  • 4
  • 27
  • 27
79
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,258
  • 11
  • 49
  • 77
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
  • 15,638
  • 9
  • 48
  • 76
65
votes
3 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
  • 30,801
  • 41
  • 120
  • 186
55
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
  • 79,308
  • 64
  • 256
  • 389
51
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
50
votes
3 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,203
  • 3
  • 20
  • 30
50
votes
9 answers

QMake - how to copy a file to the output

How can I copy a file from my project to the output directory with qmake? I'm compiling on Linux but in the future I'll compile it on Mac and Windows.
Raphael
  • 7,388
  • 12
  • 55
  • 81
1
2 3
99 100