Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Wrong compiler detected by cmake
Qt 6.11 is out! See what's new in the release blog

Wrong compiler detected by cmake

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 973 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.
  • R Offline
    R Offline
    Radim
    wrote on last edited by
    #1

    Hi,
    I'm using Qt Creator 3.5.1 to compile my non-Qt project using cmake. My problem is that the cmake ignores the cross-compiler selected in my Kit and configures make for native compiler. Do I need to specify the compiler on the cmake command line (despite configuring it in Kit) or am I missing something else?

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Are you sure you use the right Kit?

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

      R 1 Reply Last reply
      0
      • jsulmJ jsulm

        Are you sure you use the right Kit?

        R Offline
        R Offline
        Radim
        wrote on last edited by
        #3

        @jsulm Yes, I created the kit and selected it during opening the project

        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