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 Cross Compiler and Qt Creator
Forum Updated to NodeBB v4.3 + New Features

CMake Cross Compiler and Qt Creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 252 Views 1 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.
  • A Offline
    A Offline
    allenb
    wrote on 20 Sept 2019, 14:32 last edited by
    #1

    We are starting to use Qt Creator for many of our projects since CMake compatibility has improved dramatically. I have used Qt Creator for generic projects which would create the following file types

    • .config
    • .creator
    • .files
    • .includes

    The *.config file allowed the defining of preprocessor defines. Is there a similar way to do this with cmake projects?

    The reason I ask is one of the cmake projects is configured for cross compiling and many of the default compiler defines are not properly setup e.g. _M_AMD64 is defined instead of __arm__.

    Qt Creator automatically detected the build configuration since we already ran cmake to configure building of the project prior to using Qt Creator.

    1 Reply Last reply
    1
    • M Offline
      M Offline
      mchinand
      wrote on 24 Sept 2019, 12:53 last edited by
      #2

      Are some of these architecture-specific variables automatically set by having and choosing an appropriate cross-compiler QtCreator Kit?

      1 Reply Last reply
      0

      1/2

      20 Sept 2019, 14:32

      • 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