Results 1 to 3 of 3

Thread: Qt with CLang

  1. #1
    Join Date
    Nov 2009
    Location
    Laval, France
    Posts
    124
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt with CLang

    Hi,
    Can I make CLang the default compiler on QtCreator, in Ubuntu , and Windows while we are at it?
    I want to try the -fsanitize=address compiler flag.
    Thankyou

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt with CLang

    With Creator you need to tell it that clang should be used as a compiler by defining a proper "Kit" that uses such compiler. You can do it from within Build & Run tab of the settings dialog.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Nov 2009
    Location
    Laval, France
    Posts
    124
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt with CLang

    Thanks, Wysota, you make it sound like it's straightforward.

Similar Threads

  1. Multiple Qt Versions (GCC/Clang) on Mac OS X 10.9
    By tommyziegler in forum Newbie
    Replies: 0
    Last Post: 2nd July 2014, 17:12
  2. Qt 5 build using clang/llvm on Linux
    By faizol in forum Installation and Deployment
    Replies: 0
    Last Post: 11th October 2012, 05:32

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.