Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Ubuntu] compiling for Windows, Mac OS X
Forum Updated to NodeBB v4.3 + New Features

[Ubuntu] compiling for Windows, Mac OS X

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 3.5k 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.
  • P Offline
    P Offline
    polyfrag
    wrote on last edited by
    #1

    How do I switch the make spec from Qt Creator?

    I was able to compile for Mac OS X from terminal using:

    export QMAKESPEC=macx-g++

    But that's only because I installed Qt version 3 from terminal.

    How do I switch QMAKESPEC in Qt Creator 4?

    Also, when I compile with win32-g++ it gives me errors, saying "windows is undefined", cannot find "lqtmain", etc.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      loladiro
      wrote on last edited by
      #2

      Have a look "here":http://silmor.de/29

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tobias.hunger
        wrote on last edited by
        #3

        Where did you get Qt Creator 4? We are currently working on version 2.3, so you are a bit ahead of us:-)

        How do you switch mkspecs? Qt Creator should pick the right one for you already. If it does not you can always override it by passing "-spec whatever-spec" as a argument to the QMake step in Projects mode/Build configuration.

        1 Reply Last reply
        0

        • Login

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