Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuick is not installed properly with Visual C++
Forum Updated to NodeBB v4.3 + New Features

QtQuick is not installed properly with Visual C++

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
11 Posts 3 Posters 1.5k 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.
  • D Offline
    D Offline
    DavidSilwal
    wrote on last edited by
    #1

    We are trying to run OpenVR emulator (link https://github.com/matzman666/OpenVR-InputEmulator) in visual studio 2015. The build is successful. But we are getting the error

    0_1526445698311_2.png

    It seems that QT library is not installed properly in our machine. We have tried reinstalling QT library. The log below says that QTQuick is not installed. However, we have fully installed QT 5.7.0 . Can anyone please provide some clue or help regarding this ??

    0_1526445714575_1.png

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      It sounds to me like it just can't find the QtQuick libraries. Are they in your PATH? You can also try deploying them into your application directory so they can be loaded from there. If it still fails from there you may actually have a bad install.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

        Have you followed the instructions from their readme? https://github.com/matzman666/OpenVR-InputEmulator#qt

        (Z(:^

        A 1 Reply Last reply
        2
        • sierdzioS sierdzio

          Have you followed the instructions from their readme? https://github.com/matzman666/OpenVR-InputEmulator#qt

          A Offline
          A Offline
          ambershark
          wrote on last edited by
          #4

          @sierdzio said in QtQuick is not installed properly with Visual C++:

          Have you followed the instructions from their readme? https://github.com/matzman666/OpenVR-InputEmulator#qt

          Even better ... make sure your QTDIR is set like they tell in your instructions rather than cluttering up your PATH or installing the libs into your app's bin dir. :) Good catch @sierdzio.

          My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

          D 1 Reply Last reply
          0
          • A ambershark

            @sierdzio said in QtQuick is not installed properly with Visual C++:

            Have you followed the instructions from their readme? https://github.com/matzman666/OpenVR-InputEmulator#qt

            Even better ... make sure your QTDIR is set like they tell in your instructions rather than cluttering up your PATH or installing the libs into your app's bin dir. :) Good catch @sierdzio.

            D Offline
            D Offline
            DavidSilwal
            wrote on last edited by
            #5

            @ambershark Yes, i followed it correcly but unluckily it wont work.. Thank you for the reply.

            A 1 Reply Last reply
            0
            • D DavidSilwal

              @ambershark Yes, i followed it correcly but unluckily it wont work.. Thank you for the reply.

              A Offline
              A Offline
              ambershark
              wrote on last edited by
              #6

              @DavidSilwal If it didn't work, try adding the Qt lib directory to your path and executing again. Or like I said try copying the libs it needs into the directory with the app.

              It's possible you don't have a good install of Qt but it really feels like a QTDIR/PATH issue more than a bad install.

              My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #7

                Hm, there's a qt.conf file in the source tree, it might be worth checking out if it is not changing your paths.

                (Z(:^

                1 Reply Last reply
                2
                • D Offline
                  D Offline
                  DavidSilwal
                  wrote on last edited by
                  #8

                  @ambershark @sierdzio ,Yes, i set the qt lib directory path to my and colleague PC,still getting the same error.. and also i have tried to copy all the bin file to deployment directory..
                  I have install qt from https://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-windows-x86-msvc2015_64-5.7.0.exe,.I believe i installed the instructed version of installer of qt. i dont think it is a bad installer..

                  0_1526448296093_9bf8596b-c242-45a6-a28e-8aa1fdb7474c-image.png

                  I still get the same erro :'( 0_1526448157605_9c958183-3af4-49f1-888e-7cfe094377d1-image.png

                  I couldnot figured it out why this happens.

                  A 1 Reply Last reply
                  0
                  • D DavidSilwal

                    @ambershark @sierdzio ,Yes, i set the qt lib directory path to my and colleague PC,still getting the same error.. and also i have tried to copy all the bin file to deployment directory..
                    I have install qt from https://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-windows-x86-msvc2015_64-5.7.0.exe,.I believe i installed the instructed version of installer of qt. i dont think it is a bad installer..

                    0_1526448296093_9bf8596b-c242-45a6-a28e-8aa1fdb7474c-image.png

                    I still get the same erro :'( 0_1526448157605_9c958183-3af4-49f1-888e-7cfe094377d1-image.png

                    I couldnot figured it out why this happens.

                    A Offline
                    A Offline
                    ambershark
                    wrote on last edited by ambershark
                    #9

                    @DavidSilwal So in your path I see you have the bin dir and the root qt dir, you need to have the lib dir as well. And you can delete the root dir, nothing will need that.

                    So add:

                    c:\Qt\Qt5.7.0\5.7\msvc2015_64\lib

                    Then it might help too to add:

                    QTDIR=c:\qt\qt5.7.0\5.7\msvc2015

                    Not to the PATH but to the var QTDIR. That may or may not be necessary at all though, but it could help.

                    Edit: Also like @sierdzio mentioned, make sure that if there is a qt.conf file in your binary dir for your app that it is not setting a weird path. If it is you can adjust it to your path to get things working.

                    My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

                    D 1 Reply Last reply
                    3
                    • A ambershark

                      @DavidSilwal So in your path I see you have the bin dir and the root qt dir, you need to have the lib dir as well. And you can delete the root dir, nothing will need that.

                      So add:

                      c:\Qt\Qt5.7.0\5.7\msvc2015_64\lib

                      Then it might help too to add:

                      QTDIR=c:\qt\qt5.7.0\5.7\msvc2015

                      Not to the PATH but to the var QTDIR. That may or may not be necessary at all though, but it could help.

                      Edit: Also like @sierdzio mentioned, make sure that if there is a qt.conf file in your binary dir for your app that it is not setting a weird path. If it is you can adjust it to your path to get things working.

                      D Offline
                      D Offline
                      DavidSilwal
                      wrote on last edited by
                      #10

                      @ambershark Thank you very much for useful information..

                      i have followed your instruction in my both of PC..
                      the previous error was gone. but new error has come..

                      0_1526455442585_b8986685-2df8-415f-8af8-f5818122ffb4-image.png

                      could you help me look into it?

                      1 Reply Last reply
                      0
                      • sierdzioS Offline
                        sierdzioS Offline
                        sierdzio
                        Moderators
                        wrote on last edited by
                        #11

                        Looks like you need to use Qt 5.9.1 instead of 5.7. The readme is outdated, apparently (or compile the plugin yourself using Qt 5.7).

                        (Z(:^

                        1 Reply Last reply
                        3

                        • Login

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