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. Build my app for Windows, Mac OS and linux from Linux
Forum Updated to NodeBB v4.3 + New Features

Build my app for Windows, Mac OS and linux from Linux

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 4.1k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    aureshinite
    wrote on 28 Jul 2011, 17:56 last edited by
    #1

    I currently have an application that works like a charm on windows and Linux, and usually I compile it directly on the desired machine. So far I have tired both on Windows\Linux and 32bits\64bits versions.

    Now I want to be able to build my app for Windows, Mac OS and Linux from Linux command line. It will be used in these platforms, and I plan to make successive compilations to different directories. For Linux, and Windows, I expect it to be simple since I can use mingw-g++ and everything is practically setup for me. But what about building the Mac OS libraries\ executable? I have close to 0 knowledge of Mac environment.

    What should I take in account?
    Do I need any other cross-compiler than mingw-gcc ?
    Is there any qmake spec I can use ?
    What should I be specifically careful about when compiling the different Qt libraries?
    What should I be specifically careful about in my pro files?

    Any help would be terrific.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aureshinite
      wrote on 29 Jul 2011, 15:14 last edited by
      #2

      Any clues? Please this is really important

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chuck Gao
        wrote on 29 Jul 2011, 15:22 last edited by
        #3

        Seems you can not build Mac OS X app in Linux, for which need Xcode. Anybody know? But for some dependency reason, i think what's your want is not necessary.

        Chuck

        1 Reply Last reply
        0
        • A Offline
          A Offline
          aureshinite
          wrote on 29 Jul 2011, 19:25 last edited by
          #4

          Thanks Chuck. Can you explain me a little more? Actually I need this because my code need on the linux server of the team, so that each team worker can just come and grab the executable. Right now I am compiling on similar hosts and putting everything on the server. But as someone else will maintain, he needs to compile everything on the server.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chuck Gao
            wrote on 30 Jul 2011, 04:10 last edited by
            #5

            You need build them separately on Windows, Linux and Mac. And upload them to your server.

            Chuck

            1 Reply Last reply
            0

            1/5

            28 Jul 2011, 17:56

            • Login

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