Results 1 to 3 of 3

Thread: How to crosscompile .pro file to work as exe in windows in qt linux environment ?

  1. #1

    Exclamation How to crosscompile .pro file to work as exe in windows in qt linux environment ?

    Hello,
    I am new to QT.
    I have developed QT GUI application on linux using QT 5.1 and i want to generate exe for windows using executable in QT 5.1.
    How to cross-compile.pro project file which is in linux for windows environment to work as a exe without any error ?
    Can you please guide me it is very urgent.

  2. #2
    Join Date
    Sep 2010
    Location
    Bangalore
    Posts
    169
    Thanks
    59
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to crosscompile .pro file to work as exe in windows in qt linux environment ?

    You should post this in Newbie section. You need not cross compile it. The only requirement is Qt should also be installed in your Windows environment. The same program should build and run fine on both the systems as Qt is independent of OS.

  3. #3
    Join Date
    Sep 2011
    Posts
    1,241
    Thanks
    3
    Thanked 127 Times in 126 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to crosscompile .pro file to work as exe in windows in qt linux environment ?

    it's simpler to make a virtual machine and compile natively in the virtual machine.
    If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

Similar Threads

  1. Replies: 0
    Last Post: 19th April 2013, 11:55
  2. Need to make my project file work on both Windows 7 and Mac 10.6
    By KenJustKen in forum Installation and Deployment
    Replies: 0
    Last Post: 14th March 2012, 22:53
  3. Replies: 5
    Last Post: 13th December 2011, 13:43
  4. Replies: 3
    Last Post: 4th December 2010, 04:17
  5. Crosscompile Qt in Linux
    By Morea in forum General Discussion
    Replies: 4
    Last Post: 13th April 2006, 18:19

Bookmarks

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.