Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to use clang compiler

How to use clang compiler

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 Posters 4.1k 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.
  • D Offline
    D Offline
    Diluka
    wrote on 3 May 2013, 06:24 last edited by
    #1

    Hi

    Have a nice day ,I need some good reference about clang compiler and how we use C and objective C inside the Qt creater please anyone have better experience please share your ideas.

    Thanks

    1 Reply Last reply
    0
    • T Offline
      T Offline
      t3685
      wrote on 3 May 2013, 07:35 last edited by
      #2

      Maybe this is a good place to start?

      http://blog.ics.com/2013/04/an-introduction-to-clang.html

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 3 May 2013, 07:42 last edited by
        #3

        Hi,

        For number 1: use the macx-clang mkspec rather than the macx-g++

        For number 2:Use the OBJECTIVE_SOURCES to list your objective-c/c++ code file (.m for pure objective-c .mm for objective-c++)

        Hope it helps

        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

        1/3

        3 May 2013, 06:24

        • Login

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