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. Adding 32-bit clang compiler
Forum Updated to NodeBB v4.3 + New Features

Adding 32-bit clang compiler

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 3.6k 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.
  • I Offline
    I Offline
    igorland
    wrote on last edited by
    #1

    I am beginning to learn programming under Mac. The first issue I faced is how to properly install Qt under Mavericks. Qt has been installed and working, except that the only compiler that I see installed with Qt is clang 64-bit. Well, I am not certain if I want to make a 64-bit program for the compatibility reason. So, I am trying to make a project with clang 32-bit. I go to Build and Run -> Kits -> Add. Create a new one called Qt 5.2.0 clang 32; Desktop; Local PC; Compiler Clang (x86 32 bit in /usr/bin); Debugger: System LLDB at usr/bin/lldb. Now I select Qt version: Qt 5.2.0 clang 64-bit. I see the error when I hover my mouse over the newly created Kit: "Error: The compiler cannot produce code for Qt Version."

    I did install Qt libraries 4.8.5 prior to that. Now when I go to add Qt Version, I cannot select qmake -- it is unselectable.

    I am absolutely confused! :-) Is there a simple tutorial how to add 32-bit clang to QtCreator 5.2 on OS X Mavericks?

    Thanks a lot!

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

      Hi,

      On OS X go with 64bit unless you are in real need for a 32bit application. IIRC 5.2 is build 64bit only, so you would first need to build a 32bit version before you can use it with clang 32

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • I Offline
        I Offline
        igorland
        wrote on last edited by
        #3

        Thanks, SGaist. I see. Well, I have nothing against building it 64-bit. My only concern is to what extent the Mac community is compatible with 64-bit. Well, let it be... :-)

        Thank you!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          IIRC, Snow Leopard is that last OS X that supported 32bit Intel architecture. So unless you know in advance that you will have customer that will use that version or older (and you very well might) you can start with 64 bit

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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