Results 1 to 8 of 8

Thread: Qt3d build error in Qt5.3?

  1. #1
    Join Date
    Aug 2013
    Posts
    27
    Thanks
    3

    Default Qt3d build error in Qt5.3?

    Hi
    I want to build Qt3d on qt5.3.2 on mingwin version. I follow the instruct of http://qt-project.org/wiki/Qt3D-Installation but failed.
    I alread install Acitve perl on my compute, when I mingw32-make -j 3 install in "Qt 5.3 for Desktop (MinGW 4.8 32 bit)", it output bellow error messages:
    D:\qt3d>mingw32-make -j 3 install
    cd src/ && ( test -e Makefile || C:/Qt/Qt5.3.2/5.3/mingw482_32/bin/qmake.exe D:/
    qt3d/src/src.pro -o Makefile ) && mingw32-make -f Makefile install
    mingw32-make[1]: Entering directory 'd:/qt3d/src'
    cd threed/ && ( test -e Makefile || c:/Qt/Qt5.3.2/5.3/mingw482_32/bin/qmake.exe
    D:/qt3d/src/threed/threed.pro -o Makefile ) && c:/Qt/Qt5.3.2/Tools/mingw482_32/b
    in/mingw32-make -f Makefile install
    Project MESSAGE: perl -w 'C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl' -module Q
    t3D -version 5.3.0 -outdir D:/qt3d D:/qt3d
    Can't open perl script "'C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl' ": Invalid
    argument
    Project ERROR: Failed to run: perl -w 'C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.
    pl' -module Qt3D -version 5.3.0 -outdir D:/qt3d D:/qt3d
    Makefile:64: recipe for target 'sub-threed-install_subtargets-ordered' failed
    mingw32-make[1]: *** [sub-threed-install_subtargets-ordered] Error 3
    mingw32-make[1]: Leaving directory 'd:/qt3d/src'
    Makefile:55: recipe for target 'sub-src-install_subtargets' failed
    mingw32-make: *** [sub-src-install_subtargets] Error 2
    Anyone know how to solve this prolbem?

  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: Qt3d build error in Qt5.3?

    Which branch are you trying to build?
    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
    Aug 2013
    Posts
    27
    Thanks
    3

    Default Re: Qt3d build error in Qt5.3?

    Main branch of Qt3D.


    Added after 10 minutes:


    Some update of this problem:
    for the command:
    Qt Code:
    1. perl -w 'C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl' -module Qt3D -version 5.3.0 -outdir D:/qt3d D:/qt3d
    To copy to clipboard, switch view to plain text mode 
    It complained that:
    Qt Code:
    1. Can't open perl script "'C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl'": Invalid
    2. argument
    To copy to clipboard, switch view to plain text mode 
    If i remove ' and type
    Qt Code:
    1. perl -w C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\syncqt.pl -module Qt3D -version 5.3.0 -outdir D:/qt3d D:/qt3d
    To copy to clipboard, switch view to plain text mode 
    perl do not complain.

    But I do not know how to remove ' in make file.
    Last edited by Abel; 7th November 2014 at 02:16.

  4. #4
    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: Qt3d build error in Qt5.3?

    Quote Originally Posted by Abel View Post
    Main branch of Qt3D.
    I suggest to try and build 'wip' branch instead.
    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.


  5. #5
    Join Date
    Aug 2013
    Posts
    27
    Thanks
    3

    Default Re: Qt3d build error in Qt5.3?

    now I download from https://github.com/qtproject/qt3d/tree/wip/newapi ,and try to build.
    after qmake qt3d.pro and run mingw32-make -j 3 install
    bellow error message output:
    Qt Code:
    1. t3DCore' -I'D:/qt3d-wip-newapi/include/Qt3DCore/5.4.0' -I'D:/qt3d-wip-newapi/in
    2. lude/Qt3DCore/5.4.0/Qt3DCore' -I'tmp' -I'../3rdparty/threadweaver/src' -I'.' -I
    3. aspects' -I'jobs' -I'nodes' -I'core-components' -I'bounds' -I'transforms' -I'io
    4. -I'C:/Qt/Qt5.3.2/5.3/mingw482_32/include/QtGui/5.3.2' -I'C:/Qt/Qt5.3.2/5.3/min
    5. w482_32/include/QtGui/5.3.2/QtGui' -I'C:/Qt/Qt5.3.2/5.3/mingw482_32/include' -I
    6. C:/Qt/Qt5.3.2/5.3/mingw482_32/include/QtGui' -I'C:/Qt/Qt5.3.2/5.3/mingw482_32/i
    7. clude/QtCore/5.3.2' -I'C:/Qt/Qt5.3.2/5.3/mingw482_32/include/QtCore/5.3.2/QtCor
    8. ' -I'C:/Qt/Qt5.3.2/5.3/mingw482_32/include/QtCore' -I'.moc/debug' -I'C:/Qt/Qt5.
    9. .2/5.3/mingw482_32/mkspecs/win32-g++' -o .obj/debug/qaspectmanager.o aspects/qa
    10. pectmanager.cpp
    11. In file included from aspects/qabstractaspect.cpp:42:0:
    12. aspects/qabstractaspect.h:47:38: fatal error: Qt3DCore/qt3dcore_global.h: No su
    13. h file or directory
    14. #include <Qt3DCore/qt3dcore_global.h>
    15. ^
    16. compilation terminated.
    17. Makefile.Debug:4334: recipe for target '.obj/debug/qabstractaspect.o' failed
    18. mingw32-make[3]: *** [.obj/debug/qabstractaspect.o] Error 1
    19. mingw32-make[3]: *** Waiting for unfinished jobs....
    20. In file included from aspects/qaspectengine.cpp:42:0:
    21. aspects/qaspectengine.h:46:38: fatal error: Qt3DCore/qt3dcore_global.h: No such
    22. file or directory
    23. #include <Qt3DCore/qt3dcore_global.h>
    24. ^
    25. compilation terminated.
    26. Makefile.Debug:4433: recipe for target '.obj/debug/qaspectengine.o' failed
    27. mingw32-make[3]: *** [.obj/debug/qaspectengine.o] Error 1
    28. In file included from aspects/qaspectmanager.cpp:42:0:
    29. aspects/qaspectmanager_p.h:47:38: fatal error: Qt3DCore/qt3dcore_global.h: No s
    30. ch file or directory
    31. #include <Qt3DCore/qt3dcore_global.h>
    32. ^
    33. compilation terminated.
    34. Makefile.Debug:4541: recipe for target '.obj/debug/qaspectmanager.o' failed
    35. mingw32-make[3]: *** [.obj/debug/qaspectmanager.o] Error 1
    36. mingw32-make[3]: Leaving directory 'd:/qt3d-wip-newapi/src/core'
    37. Makefile:58: recipe for target 'debug-install' failed
    38. mingw32-make[2]: *** [debug-install] Error 2
    39. mingw32-make[2]: Leaving directory 'd:/qt3d-wip-newapi/src/core'
    40. Makefile:59: recipe for target 'sub-core-install_subtargets' failed
    41. mingw32-make[1]: *** [sub-core-install_subtargets] Error 2
    42. mingw32-make[1]: Leaving directory 'd:/qt3d-wip-newapi/src'
    43. Makefile:52: recipe for target 'sub-src-install_subtargets' failed
    44. mingw32-make: *** [sub-src-install_subtargets] Error 2
    To copy to clipboard, switch view to plain text mode 

  6. #6
    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: Qt3d build error in Qt5.3?

    Do these files exist?
    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.


  7. #7
    Join Date
    Aug 2013
    Posts
    27
    Thanks
    3

    Default Re: Qt3d build error in Qt5.3?

    can find in D:\qt3d-wip-newapi\src\core,but can not find in QTSDK.

  8. #8
    Join Date
    Jan 2015
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Qt3d build error in Qt5.3?

    I have same issue. Any resolution to this yet?

    I'm manually downloading "dev" branch of Qt3D from gitorious and building after grabbing qt 5.4.0 from gitorious as well.

    -Ben

Similar Threads

  1. Build qt3D with qt4 under Ubuntu 12.10
    By jiapei100 in forum Qt Tools
    Replies: 2
    Last Post: 23rd February 2013, 12:01
  2. Replies: 0
    Last Post: 29th February 2012, 10:48
  3. Build Qt3d with Visual Studio 2005
    By emrares in forum Installation and Deployment
    Replies: 0
    Last Post: 12th November 2010, 10:54
  4. Qwt build error with Qt 4.6.0-tp1
    By alex-krutikov in forum Qwt
    Replies: 6
    Last Post: 20th December 2009, 10:43
  5. Error to build Qt4.4 on Mac OS X 10.5.3
    By chackal_sjc in forum Installation and Deployment
    Replies: 8
    Last Post: 20th July 2008, 20:38

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.