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. Qt Quick 3d with the SDK?
Forum Updated to NodeBB v4.3 + New Features

Qt Quick 3d with the SDK?

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 3.0k 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.
  • kidproquoK Offline
    kidproquoK Offline
    kidproquo
    wrote on last edited by
    #1

    I am having a bit of trouble getting Qt3d to compile with the current SDK on Ubuntu 10.10.

    I have downloaded the Qt3d preview that is mentioned in the "Labs blog post":http://labs.qt.nokia.com/2011/05/20/qt-quick-3d-downloads-available/ and tried to compile it in Qt Creator (2.2).

    When I try to build it I get this as output:

    @
    Running build steps for project quick3d...
    Configuration unchanged, skipping qmake step.
    Starting: "/usr/bin/make" -w
    make: Entering directory /home/sam/Documents/Programming/Qt/qt3d/quick3d-shadow' cd src/ && /usr/bin/make -f Makefile make[1]: Entering directory /home/sam/Documents/Programming/Qt/qt3d/quick3d-shadow/src'
    cd threed/ && /usr/bin/make -f Makefile
    make[2]: Entering directory /home/sam/Documents/Programming/Qt/qt3d/quick3d-shadow/src/threed' cp -f ../../../qt-quick3d/src/threed/global/qt3dglobal.h /opt/QtSDK/Desktop/Qt/473/gcc/include/Qt3D/qt3dglobal.h cp: cannot create regular file /opt/QtSDK/Desktop/Qt/473/gcc/include/Qt3D/qt3dglobal.h': No such file or directory
    make[2]: Leaving directory /home/sam/Documents/Programming/Qt/qt3d/quick3d-shadow/src/threed' make[1]: Leaving directory /home/sam/Documents/Programming/Qt/qt3d/quick3d-shadow/src'
    make: Leaving directory `/home/sam/Documents/Programming/Qt/qt3d/quick3d-shadow'
    make[2]: *** [/opt/QtSDK/Desktop/Qt/473/gcc/include/Qt3D/qt3dglobal.h] Error 1
    make[1]: *** [sub-threed-make_default-ordered] Error 2
    make: *** [sub-src-make_default-ordered] Error 2
    The process "/usr/bin/make" exited with code 2.
    Error while building project quick3d (target: Desktop)
    When executing build step 'Make'
    @

    Do I need to be recompiling the rest of Qt as well, or is there something I am missing.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      That is the install step, isen't it?

      You will need root permissions to write into /opt. Try "sudo make install".

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mario
        wrote on last edited by
        #3

        You can install the SDK in your home folder to skip this kind of issues :)

        1 Reply Last reply
        0
        • kidproquoK Offline
          kidproquoK Offline
          kidproquo
          wrote on last edited by
          #4

          Thanks Tobias. Running the build as root worked. I knew it would be a simple solution.

          I think the confusion was from the instructions saying not to run make install as root if you're building Qt itself for Qt/3d. I must've been tired when I read them the first time.

          The demos all look pretty good now I've got things running. I can't wait to get stuck in.

          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