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

Tools and Standards

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 996 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.
  • M Offline
    M Offline
    moravas
    wrote on last edited by
    #1

    Hy,

    first, sorry for my english. I am very new on the QtFramework and QtCreator. I have a Ubunut Linux with 2.5.2 Qt Creator and 4.8.2 Qt Firmware.
    I am interested, how can I add clang to my project as tool chain (I found tools-> options -> Build & Run -> Tool Chains tab, but I don't know, how must I use it) and how can I set the compiler options, such as use the newer standard C++ 2011 or use -O3 optimisations, etc?

    Thank you for reply.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You turn on compiler flags per Qt project - in your .pro file (using QMAKE_CXXFLAGS and such, see "qmake variable reference":http://doc.qt.digia.com/qt/qmake-variable-reference.html).

      I have not used clang yet, but once you have it installed, it should show up in Qt Creator. If not, you need to point QtC to the c++ binary.

      (Z(:^

      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