(C++) Porting code from Qt Creator under Ubuntu to Qt Creator under Windows

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) Porting code from Qt Creator under Ubuntu to Qt Creator under Windows

 

Qt
CreatorUbuntutoQt
CreatorWindows

 

It should be possible to port code from:

  • developed on the Ubuntu operating system
  • developed using the IDE Qt Creator

 

to:

 

  • a working Windows executable
  • on the Windows XP operating system
  • recompiled using (the Windows version of) the IDE Qt Creator

 

 

 

 

 

OKAYSTLQt CreatorUbuntutoQt CreatorWindows Test 1: a Hello World program

 

Hello World can be run under both Ubuntu and Windows.

 

Watch out for the qmake error: no valid Qt version set.

 

 

 

 

 

OKAYBoostQt CreatorUbuntutoQt CreatorWindows Test 2: a Hello Boost program

 

Hello Boost can be run under both Ubuntu and Windows.

 

 

 

 

 

OKAYGUIQt CreatorUbuntutoQt CreatorWindows Test 3: a Hello Qt program

 

Hello Qt can be run under both Ubuntu and Windows.