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
Quote:
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
Quote:
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
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?
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.