Results 1 to 2 of 2

Thread: Program in Windows, Deploy in Linux

  1. #1

    Default Program in Windows, Deploy in Linux

    Hi All,
    I am new to Qt and cross-platform GUI porgramming.
    Sorry if I ask a silly question.

    I downloaded the non-commercial Qt version for windows and installed it in my PC (WinXP).
    By cross-platform, does it mean there is some way I can compile the Qt code on my windows PC, and have an executable that can run in Linux?

    Thanks for your advice and comment in advance.

  2. #2
    Join Date
    Jan 2006
    Warsaw, Poland
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits

    Default Re: Program in Windows, Deploy in Linux

    You can do that but you need a cross-compiler - that is a compiler that is executed on one platform that builds code for another platform. Cross-platformness of Qt means the same source code can be compiled for many platforms without losing functionality. Usually you compile it on the target platform but it's of course possible to cross compile it to another platform but you need to have the appropriate tool chain installed.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.

Similar Threads

  1. Replies: 5
    Last Post: 15th January 2009, 10:03
  2. QPalette works differently on windows and linux
    By babu198649 in forum Newbie
    Replies: 3
    Last Post: 6th March 2008, 08:27
  3. Replies: 19
    Last Post: 21st January 2008, 10:13
  4. QT Program debug,GDB on Linux
    By darpan in forum General Programming
    Replies: 1
    Last Post: 26th January 2007, 23:02
  5. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 05:19


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.