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. Error installing Qt3D with QtCreator and qt5
Forum Updated to NodeBB v4.3 + New Features

Error installing Qt3D with QtCreator and qt5

Scheduled Pinned Locked Moved QML and Qt Quick
14 Posts 5 Posters 9.0k 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.
  • R Offline
    R Offline
    renevanderlende
    wrote on last edited by
    #5

    Hi Lauriane,

    • Just to get things clear, you did also install ActivePerl, Python, Ruby, etc (and optional webkit stuff) as suggested via StackOverflow? ANGLE too?

    Seems a lot of extra stuff to do OpenGL (and I truly hate multi, multi language development. Add Java for Android, objective-c for osx, VB for Excel and Access and your head will spin).

    • Some Digia "official" said (in jan 2013) Qt3D should be part of Qt 5.2 but didn't make it. (I rechecked my Qt 5.2.1and it is still NOT included, duh, I knew that)

    I'm following your lead now...

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lauriane
      wrote on last edited by
      #6

      At last, I succeeded!
      So,

      • first I downloaded the latest version of Qt, Qt 5.2.1
      • I downloaded the sources of Qt3D from the git repository with a git client into the folder "C:\qt3d"
      • with the terminal "Qt 5.2.1 for Desktop (MinGW 4.8 32 bit)"
        @cd C:\qt3D
        qmake
        mingw32-make.exe install@
        the "install" is important so that all files are copied into Qt configuration folder.

      Then, in the .pro file, add
      @QT += 3d@

      And in main.qml file:
      @import QtQuick 2.0
      import Qt3D 2.0
      import Qt3D.Shapes 2.0@

      Lauriane

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lauriane
        wrote on last edited by
        #7

        Hi Rene,
        I had to install ActivePerl, indeed. I forgot to mention it, sorry. However, I didn't need to install the others (Python, Ruby or ANGLE)
        Good luck,
        Lauriane

        1 Reply Last reply
        0
        • R Offline
          R Offline
          renevanderlende
          wrote on last edited by
          #8

          Hi

          You beat me to it, cudo's!! Running it now.
          Would be nice if you made the above in a final document and send it to the Qt3D developers. I bet there are much more NOOBS like us wanting to use it. And now they also know it installs in Qt 5.2.1 running on W7-x86 and W8.1-x86(?)

          Thanks a lot!

          P.S.: I changed the Qtenv.bat and rem'ed the PATH and added the folders to my regular PATH environment in Windows system settings, making the "MingW32 Terminal" obsolete (any DOS box will work now)

          1 Reply Last reply
          0
          • A Offline
            A Offline
            AlGrenadine
            wrote on last edited by
            #9

            Thanks Rene & Lauriane, i finally could build Qt3d ! :)

            1 Reply Last reply
            0
            • E Offline
              E Offline
              eduard9119
              wrote on last edited by
              #10

              Hello lauriane,

              i know its quite a while since you were active in this post but can you explain to me what you mean by "with the terminal "Qt 5.2.1 for Desktop (MinGW 4.8 32 bit)""? I don't know where to write these commands.

              Eduard

              JKSHJ 1 Reply Last reply
              0
              • E eduard9119

                Hello lauriane,

                i know its quite a while since you were active in this post but can you explain to me what you mean by "with the terminal "Qt 5.2.1 for Desktop (MinGW 4.8 32 bit)""? I don't know where to write these commands.

                Eduard

                JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #11

                Hi @eduard9119,

                You might want to consider installing the official Qt 5.5.0 beta: http://download.qt.io/snapshots/qt/5.5/5.5.0-beta/

                It includes Qt 3D as a tech preview. No need to build it yourself.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  eduard9119
                  wrote on last edited by eduard9119
                  #12

                  Hi JKSH,
                  first i want to thank you for your fast response.
                  According to your advice tried the QT 5.5 beta but "import Qt3D 2.0" is red underlined and if i want to build the qt3d examples just black windows appear. Do you know the cause of this problem? Did i miss to set up some settings here?

                  JKSHJ 1 Reply Last reply
                  0
                  • E eduard9119

                    Hi JKSH,
                    first i want to thank you for your fast response.
                    According to your advice tried the QT 5.5 beta but "import Qt3D 2.0" is red underlined and if i want to build the qt3d examples just black windows appear. Do you know the cause of this problem? Did i miss to set up some settings here?

                    JKSHJ Offline
                    JKSHJ Offline
                    JKSH
                    Moderators
                    wrote on last edited by
                    #13

                    @eduard9119 said:

                    According to your advice tried the QT 5.5 beta but "import Qt3D 2.0" is red underlined

                    1. What platform are you using?
                    2. What compiler are you using?

                    and if i want to build the qt3d examples just black windows appear.

                    1. What graphics card do you have?
                    2. Are your graphics drivers up to date?

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      eduard9119
                      wrote on last edited by eduard9119
                      #14

                      Ok most of the examples work now.
                      I'm currently trying to programm an object loader myself.
                      I'm working on a Windows 8.1 64Bit System with MSVC2013. Moreover I've got a NVIDIA GeForce GTX 850M with the latest drivers installed.
                      I can use 3d objects in my programm but i can't load those for now. But i think it's a lack of my understanding in 3d programming and qt3d. I don't think it's a big problem.
                      Thank you for you help here!

                      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