Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install QT3d on QT5?

Tags:

qt5

qt3d

I am trying to install Qt3d on Qt5. When I install QT5, in the installation folder there is a src folder. In this folder, the qt3d library is present.

If I understand correct, I must build it in order to use the various header files.

But I wanted the latest source. So in order to download the source of qt3d to build with QT5 I click on master on this https://qt.gitorious.org/qt/qt3d then i download the master.tar.gz, i save it in the folder where I want to build the qt3d library.

Then I follow all the steps given on the build qt3d with QT sdk page When I click on build, I get the following error

16:28:14: Running steps for project qt3d...
16:28:14: Starting: "C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\qmake.exe" C:\libraries\qt3d\qt-qt3d_tdk\qt3d.pro -r -spec win32-msvc2010 "CONFIG+=debug"Reading C:/libraries/qt3d/qt-qt3d_tdk/src/src.pro [C:/libraries/qt3d/Debug/src]
Reading C:/libraries/qt3d/qt-qt3d_tdk/src/threed/threed.pro [C:/libraries/qt3d/Debugsrc/threed]
'perl.exe' is not recognized as an internal or external command,operable program or batch file.
Project MESSAGE: C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\syncqt.bat -module Qt3D-mkspecsdirC:\Qt\Qt5.0.1\5.0.1\msvc2010/mkspecs -outdir C:/libraries/qt3d/Debug /librariesqt3d/qt-qt3d_tdk
Project ERROR: Failed to run: C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\syncqt.bat -module Qt3D -mkspecsdir C:\Qt\Qt5.0.1\5.0.1\msvc2010/mkspecs -outdir C:/libraries/qt3d/Debug C:/libraries/qt3d/qt-qt3d_tdk
16:28:15: The process "C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\qmake.exe" exited with code 3.Error while building/deploying project qt3d (kit: Desktop Qt 5.0.1 MSVC2010 32bit)

When executing step 'qmake'

What i am confused about is, why does the compiler say that perl.exe is not recognised when the file perl.exe is nowhere to be found in neither src.pro nor threed.pro. How does perl come in to the picture.

Also, I am using the master.tar.gz because if i try to use the clone repository using GIT gui, it shows an error message saying that the directory exists. To be very hopnest, I am completely lost with all this GIT stuff.

Any advice will be helpful.

Thanking you in advance.

like image 336
thedorkknight Avatar asked Mar 08 '13 15:03

thedorkknight


1 Answers

You will want to follow the instructions from Building Qt5 from Git as well. Perl is needed for the configuration step of the Qt5 source build, which is done through Perl scripts.

like image 193
Joris Timmermans Avatar answered Sep 18 '22 21:09

Joris Timmermans