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. Qmake 5.3 vs 5.4 MS VS2013 project generation
Qt 6.11 is out! See what's new in the release blog

Qmake 5.3 vs 5.4 MS VS2013 project generation

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 624 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.
  • E Offline
    E Offline
    evilruff
    wrote on last edited by
    #1

    Hi

    I am not sure its a right place to ask, but I recently found really interesting difference in qmake behavior between 5.3 and 5.4 versions and I am not sure it's a desired or is it a bug.

    In my projects I prefer to use:

    CONFIG -= flat

    to get a convenient hierarchical structure in resulted Visual Studio projects.

    Since version 5.4 for every header file which contains any QObject derived class = means has an extra custom build step there is a following difference:

    I attached only parts which are different in resulted .filers files.

    Version 5.3

    <ItemGroup>
    <CustomBuild Include="..\common\contacts\xcontact.h">
    <Filter>Header Files..\common\contacts</Filter>
    </CustomBuild>
    </ItemGroup>

    Version 5.4

    <ItemGroup>
    <CustomBuild Include="..\common\contacts\xcontact.h">
    <Filter>Header Files</Filter>
    </CustomBuild>
    </ItemGroup>

    As you may see, main difference is in <Filter> tag, so since 5.4 it doesn't contains full header path which leads to really weird look in the resulted project. Resulted project has all needed folders/groups but they are all empty except non QObject based classes. All other headers are properly Filtered.

    For cpp files all looks good.

    I will really appreciate any suggestions on this.

    Regards,
    Yuri

    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