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. Cmake Toolchain file
Qt 6.11 is out! See what's new in the release blog

Cmake Toolchain file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 734 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,

    We cross compile our project from Linux to Windows and therefore work with toolchain files. Testing I mostly do in Linux. In order to stay consistent, is it possible to set up Qt-Creator to use the toolchain file I would use if I do a built outside of creator? I also specified the Qt5_DIR and Qt5_QMAKE_EXECUTABLE there.

    When I try to add the CMAKE_TOOLCHAIN_FILE variable in the QtCreator Build settings as CMAKE variable, I don't manage to get it working.

    Does someone know how this could be possible?

    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