(C++) 'Hello Qt' using (a Windows version of) Qt Creator under Wine under Ubuntu

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) 'Hello Qt' using (a Windows version of) Qt Creator under Wine under Ubuntu

 

Hello Qt is an extension of Hello World. Like Hello World, Hello Qt is a simple application. Hello Qt, however, also requires the Qt libraries.

 

 

 

 

 

 

Operating system: Ubuntu 10.04 LTS Lucid Lynx

IDE: Qt Creator 2.0.0

Project type: GUI application

Compiler: G++ 4.4.1

Libraries used:

  • Qt: version 1.40

Other tools:

 

 

 

 

 

Qt project file

 


#------------------------------------------------- # # Project created by QtCreator 2010-09-29T18:34:47 # #------------------------------------------------- QT       += core gui TARGET = CppHelloQt TEMPLATE = app SOURCES += main.cpp

 

 

 

 

 

main.cpp

 


#include <QtGui/QApplication> #include <QtGui/QDialog> int main(int argc, char *argv[]) {   QApplication a(argc, argv);   QDialog d;   d.setWindowTitle("Hello Qt");   d.show();   return a.exec(); }

 

 

 

 

 

Makefile

 

Copied from '/home/richel/.wine/drive_c/Qt/2010.05/ProjectsWin/CppHelloQt':

 


 

 

 

 

 

Makefile.Debug

 

Copied from '/home/richel/.wine/drive_c/Qt/2010.05/ProjectsWin/CppHelloQt':

 


 

Makefile.Release

 

Copied from '/home/richel/.wine/drive_c/Qt/2010.05/ProjectsWin/CppHelloQt':