Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Sudden VS2017 issue
Forum Updated to NodeBB v4.3 + New Features

Sudden VS2017 issue

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 2 Posters 608 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.
  • MegamouseM Offline
    MegamouseM Offline
    Megamouse
    wrote on last edited by
    #1

    My Visual Studio 2017 suddenly can't find the Qt classes anymore (incomplete type is not allowed).

    I have been coding with my setup for years. (with the Qt Tool Extension for VS).
    But ever since I changed one QDialog class to QWidget my whole project can't find any Qt class anymore, even though I reverted the change and also cleaned the project etc.

    What could this be? Maybe a bug in VS or the Tool or maybe some scrambled file?

    JonBJ 1 Reply Last reply
    0
    • MegamouseM Megamouse

      My Visual Studio 2017 suddenly can't find the Qt classes anymore (incomplete type is not allowed).

      I have been coding with my setup for years. (with the Qt Tool Extension for VS).
      But ever since I changed one QDialog class to QWidget my whole project can't find any Qt class anymore, even though I reverted the change and also cleaned the project etc.

      What could this be? Maybe a bug in VS or the Tool or maybe some scrambled file?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Megamouse
      Try creating a brand new project using the Extension. Does that have the same problem? If yes, it's something in the system. If no, it's something in the old project. Just how "clean" did you manage to clean it?

      MegamouseM 1 Reply Last reply
      0
      • JonBJ JonB

        @Megamouse
        Try creating a brand new project using the Extension. Does that have the same problem? If yes, it's something in the system. If no, it's something in the old project. Just how "clean" did you manage to clean it?

        MegamouseM Offline
        MegamouseM Offline
        Megamouse
        wrote on last edited by Megamouse
        #3

        @JonB XD probably too clean. (Just the normal clean solution option) but since the error occured before cleaning it I don't actually think that might be the issue.

        I just uninstalled the Tool and Qt 5.12 and reinstalled the tool and Qt 5.11.3 but still no success. (I also updated VS to the latest version)

        1 Reply Last reply
        0
        • MegamouseM Offline
          MegamouseM Offline
          Megamouse
          wrote on last edited by
          #4

          0_1548790059561_166abe92-0581-4277-b172-9cc7c4d9236f-image.png

          1 Reply Last reply
          0
          • MegamouseM Offline
            MegamouseM Offline
            Megamouse
            wrote on last edited by Megamouse
            #5

            For some reason it fixed itself after all these updates and reinstalls and cleans and deleting the generated files and rebuilding it at least twice or thrice. I also had to delete any old Qt dlls in the bin folder

            1 Reply Last reply
            1

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved