Results 1 to 5 of 5

Thread: Building Qt 4.6 rc

  1. #1
    Join Date
    Jun 2007
    Location
    Netherlands
    Posts
    54
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Building Qt 4.6 rc

    Hey all

    I downloaded the new Qt SDK release candidate today and I wanted to configure it for debug and release so I ran:

    Qt Code:
    1. configure -debug-and-release -opensource -static
    2.  
    3. mingw32-make
    To copy to clipboard, switch view to plain text mode 

    But after a long time of waiting I get the following error:

    Qt Code:
    1. g++ -c -O2 -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
    2. -DQT_NO_DEBUG -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CO
    3. RE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include
    4. \QtGui" -I"..\..\..\..\include\QtOpenGL" -I"..\..\..\..\include" -I"..\..\..\..\
    5. include\ActiveQt" -I"tmp\moc\release_static" -I"..\..\..\..\mkspecs\win32-g++" -
    6. o tmp\obj\release_static\main.o main.cpp
    7. ar -ru ..\..\..\..\plugins\graphicssystems\libqglgraphicssystem.a tmp/obj/releas
    8. e_static/main.o
    9. ar: creating ..\..\..\..\plugins\graphicssystems\libqglgraphicssystem.a
    10. mingw32-make[4]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins/graphicssys
    11. tems/opengl'
    12. mingw32-make[3]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins/graphicssys
    13. tems/opengl'
    14. mingw32-make[2]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins/graphicssys
    15. tems'
    16. cd phonon\ && mingw32-make -f Makefile
    17. mingw32-make[2]: Entering directory `F:/Qt/2009.05-rc1/qt/src/plugins/phonon'
    18. cd ds9\ && mingw32-make -f Makefile
    19. mingw32-make[3]: Entering directory `F:/Qt/2009.05-rc1/qt/src/plugins/phonon/ds9
    20. '
    21. mingw32-make -f Makefile.Debug all
    22. mingw32-make[4]: Entering directory `F:/Qt/2009.05-rc1/qt/src/plugins/phonon/ds9
    23. '
    24. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    25. DPHONON_MAKE_QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_
    26. GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\.
    27. .\..\..\include\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I
    28. "..\..\..\..\include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I".
    29. .\..\..\..\include\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\m
    30. oc\debug_static" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_static\abstr
    31. actvideorenderer.o ..\..\..\3rdparty\phonon\ds9\abstractvideorenderer.cpp
    32. F:/Qt/2009.05-rc1/qt/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DPHONON_MAKE_
    33. QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_
    34. CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\inclu
    35. de\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I"..\..\..\..\
    36. include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I"..\..\..\..\in
    37. clude\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\moc\debug_stat
    38. ic" -I"..\..\..\..\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\..\..\3rdparty\phono
    39. n\ds9\audiooutput.h -o tmp\moc\debug_static\moc_audiooutput.cpp
    40. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    41. DPHONON_MAKE_QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_
    42. GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\.
    43. .\..\..\include\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I
    44. "..\..\..\..\include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I".
    45. .\..\..\..\include\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\m
    46. oc\debug_static" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_static\audio
    47. output.o ..\..\..\3rdparty\phonon\ds9\audiooutput.cpp
    48. F:/Qt/2009.05-rc1/qt/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DPHONON_MAKE_
    49. QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_GUI_LIB -DQT_
    50. CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\inclu
    51. de\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I"..\..\..\..\
    52. include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I"..\..\..\..\in
    53. clude\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\moc\debug_stat
    54. ic" -I"..\..\..\..\mkspecs\win32-g++" -D__GNUC__ -DWIN32 ..\..\..\3rdparty\phono
    55. n\ds9\backend.h -o tmp\moc\debug_static\moc_backend.cpp
    56. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    57. DPHONON_MAKE_QT_ONLY_BACKEND -DQT_STATICPLUGIN -DQT_PLUGIN -DQT_PHONON_LIB -DQT_
    58. GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\.
    59. .\..\..\include\QtGui" -I"..\..\..\..\include\phonon" -I"..\..\..\..\include" -I
    60. "..\..\..\..\include\ActiveQt" -I"..\..\..\..\include\phonon_compat\phonon" -I".
    61. .\..\..\..\include\phonon_compat" -I"..\..\..\..\include\phonon\Phonon" -I"tmp\m
    62. oc\debug_static" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_static\backe
    63. nd.o ..\..\..\3rdparty\phonon\ds9\backend.cpp
    64. ..\..\..\3rdparty\phonon\ds9\backend.cpp: In static member function 'static QMut
    65. ex* Phonon::DS9::Backend::directShowMutex()':
    66. ..\..\..\3rdparty\phonon\ds9\backend.cpp:69: error: 'qt_plugin_instance' was not
    67. declared in this scope
    68. mingw32-make[4]: *** [tmp/obj/debug_static/backend.o] Error 1
    69. mingw32-make[4]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins/phonon/ds9'
    70.  
    71. mingw32-make[3]: *** [debug-all] Error 2
    72. mingw32-make[3]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins/phonon/ds9'
    73.  
    74. mingw32-make[2]: *** [sub-ds9-make_default] Error 2
    75. mingw32-make[2]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins/phonon'
    76. mingw32-make[1]: *** [sub-phonon-make_default] Error 2
    77. mingw32-make[1]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/plugins'
    78. mingw32-make: *** [sub-plugins-make_default-ordered] Error 2
    79.  
    80. F:\Qt\2009.05-rc1\qt>mingw32-make
    To copy to clipboard, switch view to plain text mode 

    Thanks in advance.

    Regards,
    Eekhoorn12

  2. #2
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Building Qt 4.6 rc

    Have read the wiki about building the phonon with mingw?
    I'm a rebel in the S.D.G.

  3. The following user says thank you to lyuts for this useful post:

    eekhoorn12 (19th November 2009)

  4. #3
    Join Date
    Jun 2007
    Location
    Netherlands
    Posts
    54
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Building Qt 4.6 rc

    I have looked at it and tried it at a new install of Qt sdk but I still get an error.

    I have modified the configure a bit in the tool so it now looks like this:

    Qt Code:
    1. configure %rdmode% -shared -no-qt3support -phonon -phonon-backend -no-webkit -no-scripttools
    To copy to clipboard, switch view to plain text mode 

    I configure in release and debug mode.

    But then I get the following error:
    Qt Code:
    1. Core\debugger" -I"..\3rdparty\javascriptcore\JavaScriptCore\runtime" -I"..\3rdparty
    2. \javascriptcore\JavaScriptCore\wtf" -I"f:\Qt\2009.05-rc1\qt\src\script\..\3rdparty
    3. \javascriptcore\JavaScriptCore\unicode" -I"..\3rdparty\javascriptcore\JavaScriptCore
    4. \interpreter" -I"..\3rdparty\javascriptcore\JavaScriptCore\jit" -I"..\3rdparty\javascriptcore
    5. \JavaScriptCore\profiler" -I"..\3rdparty\javascriptcore\JavaScriptCore\wrec" -I"..\3rdparty
    6. \javascriptcore\JavaScriptCore\API" -I"..\3rdparty\javascriptcore\JavaScriptCore
    7. \bytecode" -I"..\3rdparty\javascriptcore\JavaScriptCore\assembler" -I"..\3rdparty
    8. \javascriptcore\JavaScriptCore\generated" -I"." -I"parser" -I"..\..\include\ActiveQt"
    9. -I"tmp\moc\debug_shared" -I"d:\Downloads\phonon4qtmingw--2\dxsdklib2008\Include"
    10. -I"..\..\mkspecs\win32-g++" -o obj\debug\qscriptlexer.o parser\qscriptlexer.cpp
    11. g++ -c -Wreturn-type -fno-strict-aliasing -g -frtti -fexceptions -mthreads -DQT_SHARED
    12. -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC
    13. -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror
    14. -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE
    15. -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_MAKEDLL
    16. -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
    17. -D_USE_MATH_DEFINES -DBUILDING_QT__=1 -DUSE_SYSTEM_MALLOC
    18. -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_JIT=0
    19. -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG
    20. -DJS_EXPORT= -DJS_EXPORTDATA= -DQT_DLL -DQT_CORE_LIB -I"..\..\include\QtCore"
    21. -I"..\..\include" -I"..\3rdparty\javascriptcore\JavaScriptCore" -I"..\3rdparty\javascriptcore"
    22. -I"..\3rdparty\javascriptcore\JavaScriptCore\assembler" -I"..\3rdparty\javascriptcore
    23. \JavaScriptCore\bytecode" -I"..\3rdparty\javascriptcore\JavaScriptCore\bytecompiler"
    24. -I"..\3rdparty\javascriptcore\JavaScriptCore\debugger" -I"..\3rdparty\javascriptcore
    25. \JavaScriptCore\interpreter" -I"..\3rdparty\javascriptcore\JavaScriptCore\jit" -I"..\3rdparty
    26. \javascriptcore\JavaScriptCore\parser" -I"..\3rdparty\javascriptcore\JavaScriptCore
    27. \profiler" -I"..\3rdparty\javascriptcore\JavaScriptCore\runtime" -I"..\3rdparty
    28. \javascriptcore\JavaScriptCore\wrec" -I"..\3rdparty\javascriptcore\JavaScriptCore\wtf"
    29. -I"..\3rdparty\javascriptcore\JavaScriptCore\wtf\unicode" -I"..\3rdparty\javascriptcore
    30. \JavaScriptCore\yarr" -I"..\3rdparty\javascriptcore\JavaScriptCore\API" -I"..\3rdparty
    31. \javascriptcore\JavaScriptCore\ForwardingHeaders" -I"generated" -I"..\..\include
    32. \QtScript" -I"tmp\rcc\debug_shared" -I"tmp" -I"f:\Qt\2009.05-rc1\qt\src\3rdparty
    33. \javascriptcore\WebKit\qt\Api" -I"..\3rdparty\javascriptcore\JavaScriptCore\pcre" -I"f:\Qt
    34. \2009.05-rc1\qt\src\3rdparty\javascriptcore\WebKitBuild\Debug\JavaScriptCore\tmp"
    35. -I"..\3rdparty\javascriptcore\JavaScriptCore" -I"..\3rdparty\javascriptcore\JavaScriptCore
    36. \parser" -I"..\3rdparty\javascriptcore\JavaScriptCore\bytecompiler" -I"..\3rdparty
    37. \javascriptcore\JavaScriptCore\debugger" -I"..\3rdparty\javascriptcore\JavaScriptCore
    38. \runtime" -I"..\3rdparty\javascriptcore\JavaScriptCore\wtf" -I"f:\Qt\2009.05-rc1\qt
    39. \src\script\..\3rdparty\javascriptcore\JavaScriptCore\unicode" -I"..\3rdparty\javascriptcore
    40. \JavaScriptCore\interpreter" -I"..\3rdparty\javascriptcore\JavaScriptCore\jit" -I"..\3rdparty
    41. \javascriptcore\JavaScriptCore\profiler" -I"..\3rdparty\javascriptcore\JavaScriptCore
    42. \wrec" -I"..\3rdparty\javascriptcore\JavaScriptCore\API" -I"..\3rdparty\javascriptcore
    43. \JavaScriptCore\bytecode" -I"..\3rdparty\javascriptcore\JavaScriptCore\assembler"
    44. -I"..\3rdparty\javascriptcore\JavaScriptCore\generated" -I"." -I"parser" -I"..\..\include
    45. \ActiveQt" -I"tmp\moc\debug_shared" -I"d:\Downloads\phonon4qtmingw--2\dxsdklib2008
    46. \Include" -I"..\..\mkspecs\win32-g++" -o obj\debug\qscriptdate.o utils\qscriptdate.cpp
    47.  
    48. F:/Qt/2009.05-rc1/qt/bin/moc.exe -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE
    49. -DQT_LARGEFILE_SUPPORT -DJSC=QTJSC -Djscyyparse=qtjscyyparse
    50. -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DQT_BUILD_SCRIPT_LIB
    51. -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO
    52. -DQT_MAKEDLL -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
    53. -DQT_MOC_COMPAT -D_USE_MATH_DEFINES -DBUILDING_QT__=1
    54. -DUSE_SYSTEM_MALLOC -DBUILDING_QT__ -DBUILDING_JavaScriptCore
    55. -DBUILDING_WTF -DENABLE_JIT=0 -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1
    56. -DWTF_CHANGES=1 -DNDEBUG -DJS_EXPORT= -DJS_EXPORTDATA= -DQT_DLL
    57. -DQT_CORE_LIB @tmp/moc/debug_shared/mocinclude.tmp -D__GNUC__ -DWIN32
    58. api\qscriptextensionplugin.h -o tmp\moc\debug_shared\moc_qscriptextensionplugin.cpp
    59.  
    60. api\qscriptextensionplugin.h:61: Error: Undefined interface
    61.  
    62. mingw32-make[2]: *** [tmp/moc/debug_shared/moc_qscriptextensionplugin.cpp] Error 1
    63. mingw32-make[2]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/script'
    64. mingw32-make[1]: *** [debug-all] Error 2
    65. mingw32-make[1]: Leaving directory `F:/Qt/2009.05-rc1/qt/src/script'
    66. mingw32-make: *** [sub-script-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

  5. #4
    Join Date
    Jan 2008
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Building Qt 4.6 rc

    I have the same "qscriptextensionplugin.h:61: Error: Undefined interface" problem with FINAL release .

    Also, WebKit cannot link because of undefined references...

  6. #5
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Building Qt 4.6 rc

    I think, if you are disabling scripttools then you need to disable script module too. I guess scripttools is the dependency for script module.

    Specify -no-script flag to configure.
    I'm a rebel in the S.D.G.

Similar Threads

  1. Building VTK with QTCreator
    By floyd.pepper in forum Newbie
    Replies: 1
    Last Post: 17th August 2009, 09:42
  2. Building qt out of source
    By elizabeth.h1 in forum Installation and Deployment
    Replies: 4
    Last Post: 8th August 2009, 17:56
  3. Which Linux distribution is best for building compatible apps?
    By Oxidative in forum Installation and Deployment
    Replies: 8
    Last Post: 9th July 2009, 17:13
  4. Problem building application with custom widget
    By Uthar in forum Installation and Deployment
    Replies: 6
    Last Post: 19th January 2009, 18:57
  5. Building Qt 4.3.4 on Win Vista & MinGW
    By Sirow in forum Installation and Deployment
    Replies: 2
    Last Post: 28th April 2008, 19:27

Tags for this Thread

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.