Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to use clang compiler

    Tools
    3
    3
    3917
    Loading More Posts
    • 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
      Diluka last edited by

      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 Reply Quote 0
      • T
        t3685 last edited by

        Maybe this is a good place to start?

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

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 0
          • First post
            Last post