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. My debugger/compiler does not see Qt classes/modules.
Forum Updated to NodeBB v4.3 + New Features

My debugger/compiler does not see Qt classes/modules.

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 2 Posters 1.2k 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.
  • W Offline
    W Offline
    Waxta
    wrote on last edited by Waxta
    #1

    Hell'o.
    I copied my Qt app from repository (whom is created in linux) but my IDE does not recognize QLabel class. I mean - linker includes it (in #include <QLabel>) but when I try to initialize variable/pointer as type QLabel, compiler gives me lots, strange looking, errors :/ However, when I change Kits from "Desktop Qt 5.8.0 MSV2015_64bit" to "Desktop Qt 5.7.1 MSV2015_64bit2" it works. Now, I don't know what kit should I use (I think it's supposed to use the newest version 5.8.0, not 5.7.2). Maybe the faulut is that, the project is created on linux? How to fix it?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Use the kit that works.
      Should be just fine :)

      1 Reply Last reply
      0
      • W Offline
        W Offline
        Waxta
        wrote on last edited by
        #3

        What is the difference? Some kits are less strict than others, aren't they?

        mrjjM 1 Reply Last reply
        0
        • W Waxta

          What is the difference? Some kits are less strict than others, aren't they?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Waxta

          No its nothing like that.
          A kit is a compiler/tools and Qt version
          so you can have many kits installed :)

          http://doc.qt.io/qtcreator/creator-targets.html

          like qt3, qt4 and qt5.7 or 5.7 and 5.8

          1 Reply Last reply
          0
          • W Offline
            W Offline
            Waxta
            wrote on last edited by
            #5

            Well, if new Qt version releases, I won't be able to use features added in that version? Do you mean Qt 5.8.0 changed or deleted QLabel class, and that's why I have errors?

            mrjjM 1 Reply Last reply
            0
            • W Waxta

              Well, if new Qt version releases, I won't be able to use features added in that version? Do you mean Qt 5.8.0 changed or deleted QLabel class, and that's why I have errors?

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @Waxta

              QLabel is not deleted :)
              You kit is broken or messed up.

              You can install/have as many kits as you like and as many different versions.

              read the docs. explains it all :)
              http://doc.qt.io/qtcreator/creator-building-targets.html

              1 Reply Last reply
              0
              • W Offline
                W Offline
                Waxta
                wrote on last edited by
                #7

                Thanks :)
                But can u tell me how to fix or reinstall my kit 5.8.0 to work correcly? I want to use the newest version :)

                mrjjM 1 Reply Last reply
                0
                • W Waxta

                  Thanks :)
                  But can u tell me how to fix or reinstall my kit 5.8.0 to work correcly? I want to use the newest version :)

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Waxta
                  well
                  use the online installer.
                  Check 5.8
                  let it install

                  I assume you have visual studio 2015 already installed ?

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    Waxta
                    wrote on last edited by
                    #9

                    Ye, right :)

                    mrjjM 1 Reply Last reply
                    0
                    • W Waxta

                      Ye, right :)

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by mrjj
                      #10

                      @Waxta

                      well remove all qt.
                      Install the 5.8 one.

                      Maybe the Qt plugin for visual studio.

                      It should just work.

                      https://download.qt.io/official_releases/qt/5.8/5.8.0/qt-opensource-windows-x86-msvc2015_64-5.8.0.exe.mirrorlist

                      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