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.6k 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 7 Nov 2019, 09:14 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?

    J 1 Reply Last reply 7 Nov 2019, 09:18
    0
    • M maxwell31
      7 Nov 2019, 09:14

      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?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 7 Nov 2019, 09:18 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

      1/2

      7 Nov 2019, 09:14

      • Login

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