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 linux app using windows
Forum Update on Monday, May 27th 2025

How to compile linux app using windows

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt quicklinuxwindowscross-compiling
7 Posts 4 Posters 2.0k 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.
  • O Offline
    O Offline
    orzel1244
    wrote on 20 Sept 2016, 18:42 last edited by
    #1

    Hello, I want to compile linux version of my application using windows, the easiest way?

    T 1 Reply Last reply 20 Sept 2016, 18:49
    0
    • O orzel1244
      20 Sept 2016, 18:42

      Hello, I want to compile linux version of my application using windows, the easiest way?

      T Offline
      T Offline
      t3685
      wrote on 20 Sept 2016, 18:49 last edited by
      #2

      @orzel1244
      Use a virtual machine in my opinion.

      1 Reply Last reply
      0
      • O Offline
        O Offline
        orzel1244
        wrote on 20 Sept 2016, 18:50 last edited by
        #3

        I have troubles with qt charts on linux :/

        V 1 Reply Last reply 20 Sept 2016, 18:59
        0
        • J Offline
          J Offline
          josephdp
          wrote on 20 Sept 2016, 18:54 last edited by
          #4

          You can use MingW kit.

          1 Reply Last reply
          0
          • O orzel1244
            20 Sept 2016, 18:50

            I have troubles with qt charts on linux :/

            V Offline
            V Offline
            VRonin
            wrote on 20 Sept 2016, 18:59 last edited by
            #5

            You will have to cross compile Qt itself

            @orzel1244 said in How to compile linux app using windows:

            I have troubles with qt charts on linux :/

            It's probably easier for us to solve those troubles

            "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
            1
            • O Offline
              O Offline
              orzel1244
              wrote on 20 Sept 2016, 18:59 last edited by
              #6

              Any easy way? I don't want to fuck few hours with compiler, do you know any good tutortial or something?

              1 Reply Last reply
              0
              • V Offline
                V Offline
                VRonin
                wrote on 20 Sept 2016, 19:26 last edited by
                #7

                To build QtCharts calling

                qmake CONFIG+=debug_and_release
                make debug
                make release
                make install
                

                should be enough to build and install it

                "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
                2

                1/7

                20 Sept 2016, 18:42

                • Login

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