Results 1 to 3 of 3

Thread: Build qt3D with qt4 under Ubuntu 12.10

  1. #1
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Build qt3D with qt4 under Ubuntu 12.10

    Hi, all:

    I strictly follow http://doc-snapshot.qt-project.org/q...-building.html, but failed to build qt3D successfully.
    Weird compilation errors keep bugging me all the time.

    at the very beginning, I got
    In file included from qdeclarativeeffect.cpp:42:0:
    qdeclarativeeffect.h:53:26: fatal error: qgltexture2d.h: No such file or directory
    compilation terminated.
    make[2]: *** [qdeclarativeeffect.o] Error 1
    make[2]: Leaving directory `/home/peijia/Downloads/qt3d/src/quick3d'
    make[1]: *** [sub-quick3d-make_default-ordered] Error 2
    make[1]: Leaving directory `/home/peijia/Downloads/qt3d/src'
    make: *** [sub-src-make_default-ordered] Error 2
    I don't even know what I've done to qt3d, now, it seems the program proceeds to
    meshcvt.cpp:46:20: fatal error: qarray.h: No such file or directory
    compilation terminated.
    make[2]: *** [meshcvt.o] Error 1
    make[2]: Leaving directory `/home/peijia/Downloads/qt3d/util/meshcvt'
    make[1]: *** [sub-meshcvt-make_default] Error 2
    make[1]: Leaving directory `/home/peijia/Downloads/qt3d/util'
    make: *** [sub-util-make_default-ordered] Error 2

    So, did anybody smoothly build qt3d with qt4 under ubuntu 12.10 ever?
    And now, how to solve my problem "fatal error: qarray.h: No such file or directory"?
    I can tell this qarray.h has already been installed to /usr/include/qt4/Qt3D


    Cheers
    Pei
    Welcome to Vision Open
    http://www.visionopen.com

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Build qt3D with qt4 under Ubuntu 12.10

    Did you read the bolded note in the manual? Are you building Qt3D against a Qt installation you have write permissions for?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2009
    Location
    Surrey, BC, Canada
    Posts
    110
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Build qt3D with qt4 under Ubuntu 12.10

    Hi, thank you wysota:

    I manually created needed directories. Also, I used
    sudo qmake
    sudo make



    Now, I found a way out , but IMHO, to build current Qt3D is still annoying and problematic.
    Welcome to Vision Open
    http://www.visionopen.com

Similar Threads

  1. Installing QT 5.0 and QT3D on Ubuntu 12.04 32 bit
    By ufechner in forum Installation and Deployment
    Replies: 0
    Last Post: 9th February 2013, 14:55
  2. Build 32-bit Qt on 64-bit Ubuntu 10.04 LTS
    By oleg_stepanenko@bk.ru in forum Installation and Deployment
    Replies: 1
    Last Post: 26th March 2012, 19:45
  3. Build Qt3d with Visual Studio 2005
    By emrares in forum Installation and Deployment
    Replies: 0
    Last Post: 12th November 2010, 09:54
  4. Build QT Embedded Linux Ubuntu Error ?
    By Thành Viên Mới in forum Installation and Deployment
    Replies: 0
    Last Post: 4th November 2010, 04:15
  5. QT4 build debian/ubuntu package 4.2
    By patrik08 in forum Installation and Deployment
    Replies: 3
    Last Post: 21st September 2006, 08:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.