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. How to apply some qt configure options on a per-module or even per-directory basis?

How to apply some qt configure options on a per-module or even per-directory basis?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 215 Views 3 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.
  • D Offline
    D Offline
    devjb
    wrote on last edited by
    #1

    I am trying to compile qt 5.12.4 in a crosscompile toolchain for arm. I have no possibility to change components of that arm toolchain.

    The supplier includes a gcc which is very old and contains a bug that prevents me to use -force-debug-info for configuring due to this gcc bug.

    Since I do not believe that the toolchain supplier will fix this at all, I have to find a way around it.

    Since the compiler bug did not show up with qt 5.11, I assume that I still can build most of the qt components with -force-debug-info, but leave it away where I see the issue.

    But how to make such a configuration that -force-debug-info can be disabled for some directrories (compile units) ?

    Thanks

    BR

    Jochen

    K 1 Reply Last reply
    0
    • D devjb

      I am trying to compile qt 5.12.4 in a crosscompile toolchain for arm. I have no possibility to change components of that arm toolchain.

      The supplier includes a gcc which is very old and contains a bug that prevents me to use -force-debug-info for configuring due to this gcc bug.

      Since I do not believe that the toolchain supplier will fix this at all, I have to find a way around it.

      Since the compiler bug did not show up with qt 5.11, I assume that I still can build most of the qt components with -force-debug-info, but leave it away where I see the issue.

      But how to make such a configuration that -force-debug-info can be disabled for some directrories (compile units) ?

      Thanks

      BR

      Jochen

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @devjb

      You can use a file called .qmake.conf in the parent folder. qmake is looking for that.

      Vote the answer(s) that helped you to solve your issue(s)

      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