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
Forum Updated to NodeBB v4.3 + New Features

How to use clang compiler

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 3 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.
  • D Offline
    D Offline
    Diluka
    wrote on 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 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
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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

        • Login

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