Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Problems when i try to install qt3d
Qt 6.11 is out! See what's new in the release blog

Problems when i try to install qt3d

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 3.7k 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.
  • T Offline
    T Offline
    Tevz
    wrote on last edited by
    #1

    Hi !! , I tried to install QT3D on a new installation of ubuntu. I followed the directions via this link: http://qt-project.org/wiki/Building-Qt-5-from-Git

    And unfortunately I have a problem on my system with this step:

    make install

    My console:
    make [3]: Entering directory "/ home / tev / QT5 / qtwebkit / Source"
    make [3]: *** No rule to make target "/home/tev/qt5/qtwebkit/Source/WebKit2//libWebKit2.a" necessary to "/ home / tev / QT5 / qtbase / lib / libQt5WebKit .so.5.4.1 ". Off.
    make [3]: Leaving directory "/ home / tev / QT5 / qtwebkit / Source"
    make [2]: *** [sub-api-pri-install_subtargets-ordered] Error 2
    make [2]: Leaving directory "/ home / tev / QT5 / qtwebkit / Source"
    make [1]: *** [sub-Source-QtWebKit-pro-install_subtargets-ordered] Error 2
    make [1]: Leaving directory "/ home / tev / QT5 / qtwebkit"
    make: *** [Module-qtwebkit-install_subtargets] Error 2

    Where is the problem during installation?
    Can be here? : /home/tev/qt5/qtwebkit/Source/WebKit2//libWebKit2.a

    With the dual ---> //

    Thank you for your reply !!

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

      Hi and welcome to devnet,

      Might be a silly question but, why do you build Qt from scratch ? If you want to only build the Qt3D module you don't have to rebuild Qt completely.

      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
      • T Offline
        T Offline
        Tevz
        wrote on last edited by
        #3

        Thank you for the welcome SGaist :)

        I have done just followed the steps in the webpage mentioned in my first post :)

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

          That's why I'm asking you: do you really want to build Qt completely ? You should be able to add that new module by just calling the classic qmake -> make -> make install

          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
          • T Offline
            T Offline
            Tevz
            wrote on last edited by
            #5

            In fact I have reinstall QT5 (and ubuntu ...) to install qt3d .... except that I follow every tutorial and nothing works ...

            And I thought reinstalling by following the links given in my first post, all would works

            seen that it does not walk by following the tutorial. I downloaded qt3d separately and I tried to comiler with Qt Creator
            When I try to compile with QT 5.4.1 under qt creator. This puts me "Qt3D requires Qt Declarative"

            What tutorial offers qt3D works?

            Thanks for your help :)

            1 Reply Last reply
            0
            • T Offline
              T Offline
              Tevz
              wrote on last edited by
              #6

              I found the solution to my problem.
              I install QT 4.8. Then qmake -> Make-> make install (with sudo).
              Compiled qt3D with qmake /usr/local/Trolltech/Qt-4.8.7/bin/qmake qt3d.pro
              make -> make install (with sudo)

              Do not forget to qt creator opens with the terminal and sudo.

              Voila :)

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

                It should work as well with Qt 5. Didn't you use the online installer for Qt 5 ? Or even your distribution's Qt 5 ?

                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