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. Qt 5.11.2 shared object library header rename fail

Qt 5.11.2 shared object library header rename fail

Scheduled Pinned Locked Moved Solved General and Desktop
1 Posts 1 Posters 192 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.
  • LubomirBogdanovL Offline
    LubomirBogdanovL Offline
    LubomirBogdanov
    wrote on last edited by
    #1

    Hello guys,
    Just wanted to mention that in the 5.11.2 release if you try to build a .so and a .bin (.exe) project that links to the .so, and if you rename a header in the .so project this WILL affect the .bin project also - it will fail to build.

    Whenever you rename a header it is changed everywhere in "includes" (in each source) but one entry with the old file remains - in the Makefile, in the build dir of the binary(or .exe) project.

    The solution to this is to delete the build dir of the binary project and let Qt recreate it. Then it works.

    So this is not a question, it's more like a how-to.

    Regards,
    Lubo

    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