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

Qt Creator predefined macro file

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 1.5k Views 2 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
    Adam Balazs
    wrote on last edited by
    #1

    Our project has a predefined macro file that is given to the compiler (GCC/Clang) with the -imacros flag. It contains the platform specific macros so it is a complicated and long file. Can I specify a predefined macro file in Qt creator because without it the code completion fails? I know that I can specify my macros in the DEFINES section of the .pro file but we have them in a standalone file. It is not possible to move them into the .pro file because other colleagues use Eclipse. QMAKE_CXXFLAGS has no effect on code completion.

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

      Hi and welcome to devnet,

      I'd recommend posting this question to the Qt Creator mailing list. You'll find there Qt Creator developers/maintainers. This forum is more user oriented.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        I'd recommend posting this question to the Qt Creator mailing list. You'll find there Qt Creator developers/maintainers. This forum is more user oriented.

        A Offline
        A Offline
        Adam Balazs
        wrote on last edited by
        #3

        @SGaist Thanks a lot for your advice, I will ask my question there.

        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