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. "License file does not contain proper license key." on configure
Qt 6.11 is out! See what's new in the release blog

"License file does not contain proper license key." on configure

Scheduled Pinned Locked Moved General and Desktop
21 Posts 2 Posters 14.6k Views 2 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #12

    I'm just being an idiot... I managed to miss updating some of the projects using the extension. Ignore me!

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #13

      Argh, 6791 errors! They're all link errors:

      Error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall QWidget::setWindowTitle(class QString const &)" (_imp?setWindowTitle@QWidget@@QAEXABVQString@@@Z) C:\Users\MOD_3\Documents\Visual Studio 2010\Projects\Dems\dems\solution\projects\demshmi\dems_Hmi.obj

      In here (https://forum.qt.io/topic/28526/qt5-linker-error-for-vs2012-solved/3) you say the solution is to

      "include a line like
      @
      QT += widgets
      @"

      in the "pro" file. I didn't have a pro file so I created one with the extension. The error remains and I do have the line:

      QT += core multimedia sql opengl widgets gui

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #14

        If you are using the Qt VS AddIn module you can follow the instructions here

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #15

          I'm pretty sure that's how I've got it set up:
          http://i.imgur.com/ulc4zlL.png

          I keep reading that I need to run "qmake" does this mean literally run the qmake.exe in the bin directory?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #16

            It's been a long time since I used the AddIn, I don't remember what would be the equivalent of rerunning qmake. However, doing a full rebuild (maybe nuke the build folder entirely) might do the trick.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by A Former User
              #17

              Tried to do a nuke, didn't seem to work.

              Finally tracked it down! I think. I needed to add:

              C:\Qt\Qt5.5.0\5.5\msvc2010\lib\Qt5Widgets.lib

              to the additional dependencies of the input section of the "linker". I have some library projects that seem to be having issues and there's no "linker" section though.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #18

                Thought that the plugin would have take care of updating it for you…

                Everything is working now ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                ? 1 Reply Last reply
                0
                • SGaistS SGaist

                  Thought that the plugin would have take care of updating it for you…

                  Everything is working now ?

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by A Former User
                  #19

                  Almost! Thank you for the help.

                  I got it to build in release mode, but strangely when I change to debug (there's a runtime error) I 'm back to square one, with it unable to find the QT includes! I checked and the (QTDIR) is the correct path this time:

                  Error C1083: Cannot open include file: 'QApplication': No such file or directory C:\Users\User\Documents\Visual Studio 2010\Projects\Project\file.cpp

                  Edit I think I only did all those changes to the release build properties! Will change the debug to match and fingers crossed everything should work.

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #20

                    I need to build the IBASE SQL drivers, but I've no idea how to download the source. I created a new post though as this one is getting very long and not much to do with the title.
                    https://forum.qt.io/topic/58594/where-do-i-actually-get-the-src-files-for-5-5

                    Thanks for the help, I got it to build at last.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #21

                      Indeed, you could even set this one to solved since you have things working :)

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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