Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Creator: CMAKE How to use Toolchain File
Forum Updated to NodeBB v4.3 + New Features

Qt Creator: CMAKE How to use Toolchain File

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 3.5k Views
  • 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
    maxwell31
    wrote on last edited by
    #1

    Hi,

    When I manually build my project I use cmake and specify a toolchain file via the -DCMAKE_TOOLCHAIN_FILE=/pathtotoolchainfile argument. Is it possible to make QtCreator use the same toolchain file? If so, how?

    jsulmJ 1 Reply Last reply
    0
    • M maxwell31

      Hi,

      When I manually build my project I use cmake and specify a toolchain file via the -DCMAKE_TOOLCHAIN_FILE=/pathtotoolchainfile argument. Is it possible to make QtCreator use the same toolchain file? If so, how?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @maxwell31 Add CMAKE_TOOLCHAIN_FILE variable to your CMake project settings. Projects/Build Settings/CMake

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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