Top "Qmake" questions

`qmake`, part of the Qt framework, is a tool for generating Makefiles and IDE project files.

Qt Cannot open include file: 'QPrinter'

I am new to Qt. Downloaded source code for a Qt application of SourceForge, and tried to build and run …

qt include qmake
How to add pre-build step in qmake/qtcreator?

I want the compiled application to have the commit number, source files checksums and other things to be available during …

version-control qmake prebuild build-numbers
How to change qmake PREFIX location

I used below commands to install some stuff. qmake PREFIX=/path/to/my/dir make make install However the path …

linux qt makefile qmake
How to mix Qt, C++ and Obj-C/Cocoa

I have a pure C++/Qt project on a Mac, but I now find that I need to call a …

c++ objective-c cocoa qt qmake
Manually configuring shadow build in qmake

There is a feature I really like in qt creator and it is the Shadow build. When the Shadow Build …

qt-creator qmake kdevelop
Qt : Cannot open include file: 'QtSql': No such file or directory

It might be a duplicate question, but the founded answers haven't solved my problem. I am trying to create a …

c++ qt qt-creator qmake qtsql
Using pkg-config with Qt Creator/qmake on Mac OSX

pkg-config doesn't come stantdard with Mac OSX (10.8.4). For my Qt project I wanted to use pkg-config to link in protocol-buffer, …

macos qt homebrew qmake
Qmake and passing $ORIGIN to linker option -rpath

I would like to use the -rpath linker option to set the .so search path. I'd like it to search […

qmake
Where are variables such as $(MKDIR) and $(COPY_DIR) defined?

I am trying to get hold of the values these variables contain but I couldn't find any informations about them …

qt-creator qmake
test if a variable is empty and give default value during qmake

How can you test if a variable is empty or not defined in a qmake .pro file? I want to …

qt qmake