Results 1 to 10 of 10

Thread: Rebuilding Qt 4.5.0

  1. #1
    Join Date
    Feb 2009
    Posts
    7
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Rebuilding Qt 4.5.0

    I have installed SDK Qt 4.5.0 for windows and it works correctly.

    When tried to rebuild I had problem.
    During execution of command:
    configure
    Error is reported.

    Qt Code:
    1. copy qmake.exe C:\Qt\2009.01\qt\bin\qmake.exe
    2. 1 file(s) copied.
    3. Creating makefiles in src...
    4. Generating Makefiles...
    5. Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
    6. C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    7. ate_more/Troll/4.5.0/qt\mkspecs
    8. Error processing project file: C:/Qt/2009.01/qt/projects.pro
    9. Qmake failed, return code 3
    To copy to clipboard, switch view to plain text mode 

    As I figured out that some path are incorect and i have changed this path to real one in qt\bin\qtvars.bat. It looks like that path is staticly defined in configure.exe

    Could anyone help me?

  2. #2
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Rebuilding Qt 4.5.0

    Did you used the -platform option correctly?

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Rebuilding Qt 4.5.0

    I have the same problem too installing qt-sdk-win-opensource-2009.01.exe. This problem is not reported in Bug Traker :/

    Try to install qt 4.5 and rebuild, this log:

    >configure -static

    Qt Code:
    1. Environment:
    2. INCLUDE=
    3. Unset
    4. LIB=
    5. C:\Archivos de programa\SQLXML 4.0\bin\
    6. PATH=
    7. d:\Qt\2009.01\qt\bin
    8. d:\Qt\2009.01\bin
    9. d:\Qt\2009.01\mingw\bin
    10. C:\WINDOWS\System32
    11. You are licensed to use this software under the terms of the GNU LGPL version 2.
    12. 1 or the GNU GPL version 3.
    13. See D:/Qt/2009.01/qt/LICENSE.LGPL
    14. or D:/Qt/2009.01/qt/LICENSE.GPL3
    15.  
    16. Configuration:
    17. dist-config
    18. large-config
    19. medium-config
    20. minimal-config
    21. small-config
    22. full-config
    23. build_all
    24. debug
    25. Qt Configuration:
    26. release
    27. debug
    28. zlib
    29. gif
    30. png
    31. accessibility
    32. qt3support
    33. opengl
    34. ipv6
    35. scripttools
    36. xmlpatterns
    37. webkit
    38. svg
    39. minimal-config
    40. small-config
    41. medium-config
    42. large-config
    43. full-config
    44.  
    45. QMAKESPEC...................win32-g++ (commandline)
    46. Architecture................windows
    47. Maketool....................mingw32-make
    48. Debug symbols...............yes
    49. Accessibility support.......yes
    50. STL support.................yes
    51. Exception support...........yes
    52. RTTI support................yes
    53. MMX support.................no
    54. 3DNOW support...............no
    55. SSE support.................no
    56. SSE2 support................no
    57. IWMMXT support..............no
    58. OpenGL support..............yes
    59. Direct3D support............no
    60. OpenSSL support.............no
    61. QtDBus support..............no
    62. QtXmlPatterns support.......yes
    63. Phonon support..............no
    64. WebKit support..............yes
    65. QtScriptTools support.......yes
    66. Graphics System.............raster
    67. Qt3 compatibility...........yes
    68.  
    69. Third Party Libraries:
    70. ZLIB support............qt
    71. GIF support.............yes
    72. TIFF support............plugin
    73. JPEG support............plugin
    74. PNG support.............qt
    75. MNG support.............plugin
    76.  
    77. Styles:
    78. Windows.................yes
    79. Windows XP..............yes
    80. Windows Vista...........yes
    81. Plastique...............yes
    82. Cleanlooks..............yes
    83. Motif...................yes
    84. CDE.....................yes
    85. Windows CE..............no
    86. Windows Mobile..........no
    87.  
    88. Sql Drivers:
    89. ODBC....................no
    90. MySQL...................no
    91. OCI.....................no
    92. PostgreSQL..............no
    93. TDS.....................no
    94. DB2.....................no
    95. SQLite..................plugin (qt)
    96. SQLite2.................no
    97. InterBase...............no
    98.  
    99. Sources are in..............D:\Qt\2009.01\qt
    100. Build is done in............D:\Qt\2009.01\qt
    101. Install prefix..............D:\Qt\2009.01\qt
    102. Headers installed to........D:/Qt/2009.01/qt/include
    103. Libraries installed to......D:/Qt/2009.01/qt/lib
    104. Plugins installed to........D:/Qt/2009.01/qt/plugins
    105. Binaries installed to.......D:/Qt/2009.01/qt/bin
    106. Docs installed to...........D:/Qt/2009.01/qt/doc
    107. Data installed to...........D:/Qt/2009.01/qt
    108. Translations installed to...D:/Qt/2009.01/qt/translations
    109. Examples installed to.......D:/Qt/2009.01/qt/examples
    110. Demos installed to..........D:/Qt/2009.01/qt/demos
    111.  
    112. WARNING: Using static linking will disable the use of plugins.
    113. Make sure you compile ALL needed modules into the library.
    114. Creating qmake...
    115. g++ -c -oqconfig.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
    116. nerators/mac -ID:\Qt\2009.01\qt/include -ID:\Qt\2009.01\qt/include/QtCore -ID:\Q
    117. t\2009.01\qt/include -ID:\Qt\2009.01\qt/include/QtCore -ID:\Qt\2009.01\qt/src/co
    118. relib/global -ID:\Qt\2009.01\qt/include/QtScript -ID:\Qt\2009.01\qt/mkspecs/win3
    119. 2-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE -
    120. DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_Q
    121. MAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQM
    122. AKE_OPENSOURCE_EDITION D:\Qt\2009.01\qt/src/corelib/global/qconfig.cpp
    123. g++ -o qmake.exe project.o main.o makefile.o unixmake.o unixmake2.o mingw_make.
    124. o option.o winmakefile.o projectgenerator.o property.o meta.o makefiledeps.o met
    125. amakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_nmake.o msvc_dsp.o m
    126. svc_vcproj.o msvc_objectmodel.o qbitarray.o qbuffer.o qbytearray.o qcryptographi
    127. chash.o qvsnprintf.o qbytearraymatcher.o qconfig.o qdatetime.o qdir.o qdiriterat
    128. or.o qfile.o qtemporaryfile.o qfileinfo.o qabstractfileengine.o qfsfileengine.o
    129. qfsfileengine_iterator.o qfsfileengine_win.o qfsfileengine_iterator_win.o qgloba
    130. l.o qhash.o qiodevice.o qlibraryinfo.o qlistdata.o qlinkedlist.o qlocale.o qmall
    131. oc.o qmap.o qregexp.o qstring.o qstringlist.o qtextstream.o quuid.o qvector.o qu
    132. rl.o qsettings.o qsettings_win.o qvariant.o qmetatype.o qnumeric.o qscriptasm.o
    133. qscriptast.o qscriptastvisitor.o qscriptcompiler.o qscriptecmaarray.o qscriptecm
    134. aboolean.o qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o qscriptecma
    135. global.o qscriptecmamath.o qscriptecmanumber.o qscriptecmaobject.o qscriptecmare
    136. gexp.o qscriptecmastring.o qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o
    137. qscriptengine_p.o qscriptengineagent.o qscriptextenumeration.o qscriptextvarian
    138. t.o qscriptcontext.o qscriptcontextinfo.o qscriptfunction.o qscriptgrammar.o qsc
    139. riptlexer.o qscriptclassdata.o qscriptparser.o qscriptprettypretty.o qscriptsynt
    140. axchecker.o qscriptclass.o qscriptclasspropertyiterator.o qscriptstring.o qscrip
    141. tvalue.o qscriptvalueimpl.o qscriptvalueiterator.o qscriptvalueiteratorimpl.o -l
    142. ole32 -luuid
    143. copy qmake.exe D:\Qt\2009.01\qt\bin\qmake.exe
    144. 1 archivos copiados.
    145. Creating makefiles in src...
    146. Generating Makefiles...
    147. Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:
    148. C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    149. ate_more/Troll/4.5.0/qt\mkspecs
    150. Error processing project file: D:/Qt/2009.01/qt/projects.pro
    151. Qmake failed, return code 3
    To copy to clipboard, switch view to plain text mode 

  4. The following user says thank you to Prompt for this useful post:

    mpele (11th August 2009)

  5. #4
    Join Date
    Feb 2009
    Posts
    7
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Rebuilding Qt 4.5.0

    This issue is known from earlier.
    http://lists.trolltech.com/pipermail...ry/001494.html

  6. #5
    Join Date
    Mar 2009
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Rebuilding Qt 4.5.0

    Hello everybody !

    I have the same problem ! Eveyone has a solution for this problem ?

  7. #6
    Join Date
    Mar 2009
    Posts
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Rebuilding Qt 4.5.0

    I have been looking around for the same fix. I dont think there is anyway to fix this though i think its a problem with the code. I do have a workaround which I used to make it work.

    I used junction http://technet.microsoft.com/en-us/s.../bb896768.aspx

    It is a tool that lets you create symbolic links (just like ln -s in linux)

    I created the directory structure of

    C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_create_more/Troll/4.5.0/qt\mkspecs

    but only up to the Troll folder. I used junction after and pointed the 4.5.0 folder to the 2009.01 folder. In my case the command was:

    Qt Code:
    1. junction C:/qt-greenhouse/Trolltech/Code_less_create_more/Trolltech/Code_less_cre
    2. ate_more/Troll/4.5.0 C:\qt\2009.01
    To copy to clipboard, switch view to plain text mode 

    after running the command i could do configure and all the files it wants to add to the QT directory its going to add to the correct one C:\qt\2009.01\qt .

    I dont know if this is a good idea long term but it works for me for now. Im sure they will fix it.

  8. The following user says thank you to noobasaurus for this useful post:

    mpele (9th March 2009)

  9. #7
    Join Date
    Mar 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Rebuilding Qt 4.5.0

    Absolutely perfect for me. I had the same problem but with this solution now it works. Thanks a lot !

    Bode

  10. #8
    Join Date
    Mar 2009
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Rebuilding Qt 4.5.0

    Hello !

    I confirm! The method of recompilation with " junction.exe " works... Good luck !!

  11. #9
    Join Date
    Apr 2009
    Posts
    58
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Rebuilding Qt 4.5.0

    hi All,
    I executed junction.exe and i have changed the path using junction. after that i typed ./configure -static .It ran successfully and then it asked to run mingw32-make .I run this and it took lots of time and finally ENDED with an error
    "can not find -lQtGuid " .I am stuck.
    WHAT to do?

  12. The following user says thank you to anupamgee for this useful post:

    mpele (11th August 2009)

  13. #10
    Join Date
    May 2013
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Rebuilding Qt 4.5.0

    Hi!! I was getting this error too when running CMake to build the openCV library and this worked for me too!!
    Only advice I would give to beginners would be that to enter the code displayed above, go to a windows prompt, go to the directory that you saved junction.exe in, and then enter the code
    For example for me I did:
    Windows Command Prompt:
    cd C:\Junction
    Code...

    I was trying to open junction.exe by double clicking but that wasn't working

Similar Threads

  1. mingw32-make keeps rebuilding
    By baray98 in forum General Programming
    Replies: 11
    Last Post: 10th March 2008, 18:19
  2. Qt rebuilding and source change
    By jgreetham in forum Installation and Deployment
    Replies: 2
    Last Post: 12th September 2007, 17:00

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.