Build Qt application for Linux in Windows using Qt Creator

Sid

I want to run a Qt application in Linux which is compiled on Windows using Qt Creator.

I tried googling but I did not get any answers regarding Qt creator. I found for Visual studio. Can anyone please let me know if this can be done in Qt Creator in Windows7 ? Do I need to install any other compilers ?

Thanks in advance.

Nejat

If you don't want to install Linux, I think the best way is using a Virtual Machine. That's because even if the source code compiles for Linux, how could it be verified to run? You will need a real target environment to finally test your application.

From a complexity point of view, I think setting up a Linux machine (VM or not) and the necessary environment for Qt is a whole lot simpler than cross compiling bug hunting afterwards.

You can install Qt on the installed Linux, copy your project there, compile it and see the results in the real environment. This way you can cope with the minor differences when porting from one OS to another easily.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Build Qt application for Linux in Windows using Qt Creator

From Dev

How to build 64-bit MinGW Qt application on Windows (with Qt Creator)

From Dev

Qt Creator - Build duration longer on Windows

From Dev

QT Creator release build

From Dev

Debug Qt application on ubuntu with root permission using qt creator

From Dev

Linux Mint: using qt creator with qt4.6.3

From Dev

Compiling a Qt 5 application in Creator on Windows 8 that will run on Windows 7?

From Dev

Qt Mac Application Failed to Create Self-contained App Bundle (Qt Creator Build)

From Dev

qt creator stops on Linux signal

From Dev

Using Intel Vtune to profile Application from Qt Creator

From Dev

Deploy Windows applications in Qt Creator

From Dev

Using the Kinect from Qt Creator

From Dev

Using Magick++ in Qt Creator

From Dev

Video Streaming on Qt Linux application using RTP

From Dev

How to share build step in Qt Creator

From Dev

Unable to build Android APK in Qt Creator

From Dev

Cannot build unity scope from qt creator

From Dev

What files are needed for a release build with Qt Creator?

From Dev

Qt GUI Application Linux

From Dev

How to compile a simple OpenCL application with Qt Creator?

From Dev

Qt Creator - debug application with input from file

From Dev

How to compile a simple OpenCL application with Qt Creator?

From Dev

QGIS with standalone C++ application in Qt Creator

From Dev

Qt Console Application missing in New Project wizard in Qt Creator

From Dev

How to play a local video in a Qt Widgets Application, in Qt creator?

From Dev

Qt Creator: Multi line text editing - Linux

From Dev

Qt Creator cannot set breakpoint on Linux

From Dev

Qt Creator: Multi line text editing - Linux

From Dev

Can't select GDB in Qt Creator on Windows

Related Related

  1. 1

    Build Qt application for Linux in Windows using Qt Creator

  2. 2

    How to build 64-bit MinGW Qt application on Windows (with Qt Creator)

  3. 3

    Qt Creator - Build duration longer on Windows

  4. 4

    QT Creator release build

  5. 5

    Debug Qt application on ubuntu with root permission using qt creator

  6. 6

    Linux Mint: using qt creator with qt4.6.3

  7. 7

    Compiling a Qt 5 application in Creator on Windows 8 that will run on Windows 7?

  8. 8

    Qt Mac Application Failed to Create Self-contained App Bundle (Qt Creator Build)

  9. 9

    qt creator stops on Linux signal

  10. 10

    Using Intel Vtune to profile Application from Qt Creator

  11. 11

    Deploy Windows applications in Qt Creator

  12. 12

    Using the Kinect from Qt Creator

  13. 13

    Using Magick++ in Qt Creator

  14. 14

    Video Streaming on Qt Linux application using RTP

  15. 15

    How to share build step in Qt Creator

  16. 16

    Unable to build Android APK in Qt Creator

  17. 17

    Cannot build unity scope from qt creator

  18. 18

    What files are needed for a release build with Qt Creator?

  19. 19

    Qt GUI Application Linux

  20. 20

    How to compile a simple OpenCL application with Qt Creator?

  21. 21

    Qt Creator - debug application with input from file

  22. 22

    How to compile a simple OpenCL application with Qt Creator?

  23. 23

    QGIS with standalone C++ application in Qt Creator

  24. 24

    Qt Console Application missing in New Project wizard in Qt Creator

  25. 25

    How to play a local video in a Qt Widgets Application, in Qt creator?

  26. 26

    Qt Creator: Multi line text editing - Linux

  27. 27

    Qt Creator cannot set breakpoint on Linux

  28. 28

    Qt Creator: Multi line text editing - Linux

  29. 29

    Can't select GDB in Qt Creator on Windows

HotTag

Archive