Announcement

Collapse
No announcement yet.

Compatibility bug with available Qt

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Compatibility bug with available Qt

    Hi,
    I installed OpenInventor 9.71 and before that I had already installed QT5.8 in "C:\Qt\Qt5.8.0". Then, the bug came out every time I run a developed QT program with visual studio 2015: it is using the qt dlls in "C:\Open Inventor\9.7.1 C++ Visual2015 x64\arch-Windows-x86_64-msvc14-Release\bin;C:\Open Inventor\9.7.1 C++ Visual2015 x64\arch-Windows-x86_64-msvc14-Debug\bin;" instead of "C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin"
    I tried to put "C:\Open Inventor\9.7.1 C++ Visual2015 x64\arch-Windows-x86_64-msvc14-Release\bin;C:\Open Inventor\9.7.1 C++ Visual2015 x64\arch-Windows-x86_64-msvc14-Debug\bin;" at the end of PATH environment variable. Then, open inventor will not work.


  • #2
    If I have to rebuild the code. Please let me know how to build using cmake or something else.

    Comment


    • #3
      Weifeng0715,

      To be able to use your own Qt installation, you need to follow the process describe on our website: http://developer97.openinventor.com/node/18787
      • For Qt examples, QTDIR must be set to Qt folder.
      • Update PATH with <QTDIR>/bin.
      Are those environment variables set on your machine?
      On this same page, you also have a description on how to use CMake.

      Comment


      • #4
        like this?

        QTDIR = "C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin"

        Path = %QTDIR%/bin

        Originally posted by BenjaminLonguechaud View Post
        Weifeng0715,

        To be able to use your own Qt installation, you need to follow the process describe on our website: http://developer97.openinventor.com/node/18787
        • For Qt examples, QTDIR must be set to Qt folder.
        • Update PATH with <QTDIR>/bin.
        Are those environment variables set on your machine?
        On this same page, you also have a description on how to use CMake.

        Comment


        • #5
          Accordingly to Windows documentation, you may want to choose this format:
          Path = %QTDIR%\bin

          https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

          Comment


          • #6
            I put the same thing for both of them "C:\Qt\Qt5.8.0\5.8\msvc2015_64\bin". it seems it is working. Visual studio is compiling 600 projects now.

            Comment


            • #7
              Here, most of the projects passed. Pls see more details following:
              ========== Build: 595 succeeded, 5 failed, 0 up-to-date, 0 skipped ==========

              Some error messages are:
              Severity Code Description Project File Line Suppression State
              Error C1083 Cannot open include file: 'wx/wxprec.h': No such file or directory WxExaminerViewer C:\Open Inventor\9.7.1 C++ Visual2015 x64\include\Inventor\Wx\SoWx.h 38
              Error C1083 Cannot open include file: 'wx/wxprec.h': No such file or directory WxHelloCone C:\Open Inventor\9.7.1 C++ Visual2015 x64\include\Inventor\Wx\SoWx.h 38
              Error C1083 Cannot open include file: 'wx/wxprec.h': No such file or directory WxTreeview C:\Open Inventor\9.7.1 C++ Visual2015 x64\include\Inventor\Wx\SoWx.h 38
              Error RC2135 file not found: activeText.tlb activeText C:\Open Inventor\9.7.1 C++ Visual2015 x64\src\Inventor\examples\ActiveX\activeText\activ eText.rc 209


              Originally posted by BenjaminLonguechaud View Post
              Accordingly to Windows documentation, you may want to choose this format:
              Path = %QTDIR%\bin

              https://msdn.microsoft.com/en-us/lib...(v=vs.85).aspx

              Comment


              • #8
                Right,

                QTDIR = "C:\Qt\Qt5.8.0\5.8\msvc2015_64" should be the right value for you.
                Are you using Visual Studio 2015?

                If this is still not working correctly, I'll suggest to look at the recommendations on the last Release notes:
                http://developer97.openinventor.com/...elease-notes-7

                Comment

                Working...
                X