Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to compile for windows in linux

How to compile for windows in linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 841 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeronimo
    wrote on last edited by
    #1

    Hi i have some application's did in qt in linux and i want to compile for windows it's possible howw¿¿¿¿???

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      The easy way to do that is to use Windows. :)
      Crossing compiling in linux to windows is a bitch.
      http://www.blogcompiler.com/2010/07/11/compile-for-windows-on-linux/

      You will need to understand your new tools and how to set it up.
      You might need to compile Qt with it.

      Timewise it will be much faster to install windows and Qt and be done with it.

      1 Reply Last reply
      3
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        http://stackoverflow.com/questions/10934683/how-do-i-configure-qt-for-cross-compilation-from-linux-to-windows-target

        An alternative, especially if it's open source and not a one-off is to use a ci tool for windows like https://www.appveyor.com/

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        3
        • R Offline
          R Offline
          Rahul Das
          wrote on last edited by
          #4

          You may get Mingw for your linux.

          Ref : http://www.mingw.org/wiki/linuxcrossmingw

          Ref : http://stackoverflow.com/questions/2033997/how-to-compile-for-windows-on-linux-with-gcc-g


          Declaration of (Platform) independence.

          1 Reply Last reply
          3

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved