(C++) makefile of a Qt Creator console application

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) makefile of a Qt Creator console application

 

This page shows the makefile (used by make) of an empty Qt Creator console application.

 

 

 

 

Operating system: Ubuntu 10.04 LTS Lucid Lynx

IDE: Qt Creator 2.0.0

Project type: console application

Compiler: G++ 4.4.1

Libraries used:

  • Qt: version 4.7.0 (32 bit)

 

 

 

 

 

Qt project file

 


#------------------------------------------------- # # Project created by QtCreator 2010-09-23T21:33:07 # #------------------------------------------------- QT       += core QT       -= gui TARGET = CppMakeConsole CONFIG   += console CONFIG   -= app_bundle TEMPLATE = app SOURCES += main.cpp

 

 

 

 

 

main.cpp

 


#include <QtCore/QCoreApplication> int main(int argc, char *argv[]) {     QCoreApplication a(argc, argv);     return a.exec(); }