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 uic issue

Qt VS Tools uic issue

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 2.0k Views
  • 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.
  • Cobra91151C Offline
    Cobra91151C Offline
    Cobra91151
    wrote on last edited by Cobra91151
    #1

    Hello!

    I have tried to build my test project using Visual Studio 2017 version 15.9.17 with Qt VS Tools. It fails with uic error. I use Qt 5.13.1 on Windows 10.

    Error description:

    Severity	Code	Description	Project	File	Line	Suppression State
    Error	1	uic (C:\Qt\5.13.1\msvc2017\bin\uic.exe)	TestAppVSEx	...\TestAppVSEx\testapp.ui	1
    

    Screenshot:

    2019-10-31_013530.png

    The test project works well using Qt Creator. I am curious why it fails to build using VS 2017 with Qt VS Tools extension installed? It is the Qt VS Tools extension bug with the latest VS 2017 version? Thanks in advance.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Kimmo
      wrote on last edited by
      #2

      aefd203f-7673-46b5-b79c-659dc5b2fe98-kuva.png

      I am not familiar with these setting, but is this Output Directory supposed to be inherited by the *.ui files?

      2ed88cde-d684-4261-95a7-fffa5ae35fc1-kuva.png

      Because if I manually set this path to a *.ui file, I can successfully build the software.

      Hope this helps to squash the bug.

      Cobra91151C 1 Reply Last reply
      1
      • K Kimmo

        aefd203f-7673-46b5-b79c-659dc5b2fe98-kuva.png

        I am not familiar with these setting, but is this Output Directory supposed to be inherited by the *.ui files?

        2ed88cde-d684-4261-95a7-fffa5ae35fc1-kuva.png

        Because if I manually set this path to a *.ui file, I can successfully build the software.

        Hope this helps to squash the bug.

        Cobra91151C Offline
        Cobra91151C Offline
        Cobra91151
        wrote on last edited by Cobra91151
        #3

        @Kimmo

        Hello!

        I have added $(IntDir)\uic\%(RelativeDir) as the Output Directory and now it compiles successfully. Thank you.

        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