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 VS Tools and uic

Qt VS Tools and uic

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

    I have some ui files in my project in subdir "ui".

    The options for Qt VS Tools say uic should place the output files into: .\Generated Files

    If however I go into the VS project settings, and go to the QT User Interface Compiler section, I see:

    45d89a8d-d20c-4a4a-a707-b7f7dab224c4-image.png

    Which is placing the output files (for an x64 Debug build) in the:

    x64\Debug\uic\ui

    sub-directory of the project - which rather seems to conflict with the Qt VS Tools value.

    This of course means that the generated header files are not found as the C++ include path contains only .\GeneratedFiles$(ConfigurationName);.\GeneratedFiles;

    Similar comments apply to the Project settings for moc and rcc.

    It's not clear to me if I did something wrong or whether Qt VS Tools didn't set the project up properly.

    Either way, please could you advise me what I need to change so the output files are created in the "advertised" locations (i.e. under "Generated Files")? I can make fairly educated guesses but would prefer to have the "correct" answer.

    Thanks
    David

    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