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 can I add a kit to Qt Creator that uses my build of CLANG?
Forum Updated to NodeBB v4.3 + New Features

How can I add a kit to Qt Creator that uses my build of CLANG?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 659 Views 2 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.
  • J Offline
    J Offline
    juandent
    wrote on last edited by
    #1

    Hi,

    I downloaded clang/llvm from its web site and built it. It is running just fine. But, I want to run it inside an IDE (e.g. Qt), and I notice that Qt Offers "kits".

    I chose Manage Kits and added the compiler path for clang++.exe, but don't know how to fill the other fields:

    Platform codegen flags: ??
    Platform linker flags: ??
    ABI: ?? (which of the two options --- x86-windows-msvc2017-pe-64bit or x86-windows-msvc2017-pe-32bit)

    Thanks!!!
    What about Debuggers? What should I add there?

    Best regards,
    Juan Dent

    K 1 Reply Last reply
    0
    • J juandent

      Hi,

      I downloaded clang/llvm from its web site and built it. It is running just fine. But, I want to run it inside an IDE (e.g. Qt), and I notice that Qt Offers "kits".

      I chose Manage Kits and added the compiler path for clang++.exe, but don't know how to fill the other fields:

      Platform codegen flags: ??
      Platform linker flags: ??
      ABI: ?? (which of the two options --- x86-windows-msvc2017-pe-64bit or x86-windows-msvc2017-pe-32bit)

      Thanks!!!
      What about Debuggers? What should I add there?

      Best regards,
      Juan Dent

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @juandent

      Hi and welcome to devnet

      kits are typically considered within Qt creator as the combination of a compiler and the Qt libraries compiled with that specific compiler. The kits are then used to compile applications using the these Qt libraries.

      You would need to compile the Qt libraries by yourself in order to use the combination as kit. The source of Qt libraries you can obtain from here. The zip-archive is meant for windows and the .tar.xz for other OSes.

      The question is if you have a specific requirement to use CLANG?
      If not, I propose to install Qt creator and a kit through the online installer. This might give you a head start when you are planning to use Qt libraries.

      For using Qt creator without a Qt-based kit, you may want to have a look to this blog and fight through this, while changing/adapting to CLANG.

      Vote the answer(s) that helped you to solve your issue(s)

      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