Page 1 of 2 12 LastLast
Results 1 to 20 of 25

Thread: Qt 4.4.0 make problem

  1. #1
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Question

    Well, now I have a problem. I ran configure and it was ok. I ran then
    Qt Code:
    1. make
    To copy to clipboard, switch view to plain text mode 
    and I get this error:
    Qt Code:
    1. In file included from ../../include/QtGui/private/qdnd_p.h:1,
    2. from ../../include/QtGui/private/../../../src/gui/kernel/qwidge
    3. t_p.h:61,
    4. from ../../include/QtGui/private/qwidget_p.h:1,
    5. from ../../include/QtGui/private/../../../src/gui/painting/qbac
    6. kingstore_p.h:52,
    7. from ../../include/QtGui/private/qbackingstore_p.h:1,
    8. from kernel\qwidget.cpp:89:
    9. ../../include/QtGui/private/../../../src/gui/kernel/qdnd_p.h:268: warning: `clas
    10. s QOleDropTarget' has virtual functions but non-virtual destructor
    11. kernel\qwidget.cpp:9763:1: unterminated comment
    12. mingw32-make[2]: *** [tmp/obj/debug_shared/qwidget.o] Error 1
    13. mingw32-make[2]: Leaving directory `C:/Qt/4.4.0/src/gui'
    14. mingw32-make[1]: *** [debug-all] Error 2
    15. mingw32-make[1]: Leaving directory `C:/Qt/4.4.0/src/gui'
    16. mingw32-make: *** [sub-gui-make_default-ordered] Error 2
    To copy to clipboard, switch view to plain text mode 

    Can someone help me?

    I am running momentaly Win XP Pro and MinGw.
    Last edited by wysota; 6th December 2007 at 12:03. Reason: Posts merged
    Qt 5.3 Opensource & Creator 3.1.2

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 make problem

    I ran configure and it was ok
    But with which options?
    From the output it looks you are installing a MSVC configuration, 'QOleDropTarget' is part of the MS SDK, which I am not sure minGW uses (but it might!) (which you are using for the compilation).
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    I am installig mingw installation, and configure was launched without any specific options. And i am trying to use qt 4.4.0 snapshot with mingw on MS Windows XP.
    Qt 5.3 Opensource & Creator 3.1.2

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 make problem

    I am installig mingw installation
    You mean this is what you want to do.
    I'd suggest you clean the configuration, run configure again, and rebuild.
    Make sure you read the output of configure.
    Note the configure options, and post them here if you still have problems.
    From the errors you posted, it looks like Qt was configured for MSVC.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    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: Qt 4.4.0 make problem

    Quote Originally Posted by high_flyer View Post
    From the errors you posted, it looks like Qt was configured for MSVC.
    Are you sure? OLE is used by drag & drop on Windows, so its usage might be independent of the compiler in this situation, especially that the file that breaks the compilation is named "qdnd_p"...

  6. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 make problem

    Are you sure?
    No I am not - as I said in my first post:
    From the output it looks you are installing a MSVC configuration, 'QOleDropTarget' is part of the MS SDK,which I am not sure minGW uses (but it might!) (which you are using for the compilation).


    Was just an idea, otherwise I based on the the given information I don't know what else it could be.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  7. #7
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    Oh, I forgot to mention:

    I use command prompt from 4.3.2, because all needed vars are set in it. After launching it, i change QTDIR to 4.4.0 with:
    Qt Code:
    1. set QTDIR=C:\Qt\4.4.0
    To copy to clipboard, switch view to plain text mode 
    . Is maybe in this step any other catch?
    Qt 5.3 Opensource & Creator 3.1.2

  8. #8
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Red face Re: Qt 4.4.0 make problem

    I've downloaded the latest snapshot of 4.4.0 and
    Qt Code:
    1. configure
    To copy to clipboard, switch view to plain text mode 
    compiles ok, but when I run
    Qt Code:
    1. mingw32-make
    To copy to clipboard, switch view to plain text mode 
    I get following error:
    Qt Code:
    1. mingw32-make[2]: *** No rule to make target `tmp/obj/debug_shared/QtCored_resource_res.o', needed by `..\..\lib\QtCored4.dll'. Stop.
    To copy to clipboard, switch view to plain text mode 

    Can someone help me?
    Qt 5.3 Opensource & Creator 3.1.2

  9. #9
    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: Qt 4.4.0 make problem

    Are you sure configure ran properly? Did it identify your platform, etc.?

  10. #10
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    This is what I get after I run configure:
    Qt Code:
    1. This is the Qt/Windows Snapshot Edition.
    2.  
    3. You are licensed to use this software under the terms of
    4. the GNU GENERAL PUBLIC LICENSE.
    5.  
    6. Type '?' to view the GNU GENERAL PUBLIC LICENSE.
    7. Type 'y' to accept this license offer.
    8. Type 'n' to decline this license offer.
    9.  
    10. Do you accept the terms of the license?
    11. Setting Direct3D to NO, since the proper Direct3D SDK was not detected.
    12. Make sure you have the Direct3D SDK installed, and that you have run
    13. the <path to SDK>\Utilities\Bin\dx_setenv.cmd script.
    14. The D3D SDK library path *needs* to appear before the Platform SDK library
    15. path in your LIB environment variable.
    16. A platform SDK containing all the DirectShow files couldn't be found.
    17. Make sure you have the Microsoft Platform/Windows SDK installed,
    18. and that you have run the <path to SDK>\SetEnv.Cmd script.
    19. Environment:
    20. INCLUDE=
    21. Unset
    22. LIB=
    23. Unset
    24. PATH=
    25. C:\WINDOWS\system32
    26. C:\WINDOWS
    27. C:\WINDOWS\System32\Wbem
    28. C:\Clarion6\BIN
    29. C:\Clarion6\3rdParty\Bin
    30. C:\PROGRA~1\CapeSoft\Safe
    31. C:\MinGW\bin
    32. C:\WINDOWS\System32
    33. C:\Program Files\MySQL\MySQL Server 5.0\bin
    34. C:\Program Files\doxygen\bin
    35. "C:\Program Files\Graphviz2.16\Bin"
    36. c:\Qt\4.3.3\bin
    37. Licensee....................
    38. License ID..................
    39. Product license.............Snapshot Edition
    40. Expiry Date.................
    41. Configuration:
    42. dist-config
    43. large-config
    44. medium-config
    45. minimal-config
    46. small-config
    47. full-config
    48. build_all
    49. debug
    50. Qt Configuration:
    51. release
    52. debug
    53. zlib
    54. png
    55. accessibility
    56. qt3support
    57. opengl
    58. ipv6
    59. xmlpatterns
    60. webkit
    61. minimal-config
    62. small-config
    63. medium-config
    64. large-config
    65. full-config
    66.  
    67. QMAKESPEC...................win32-g++ (env)
    68. Architecture................windows
    69. Maketool....................mingw32-make
    70. Debug symbols...............yes
    71. Accessibility support.......yes
    72. STL support.................yes
    73. Exception support...........yes
    74. RTTI support................yes
    75. MMX support.................no
    76. 3DNOW support...............no
    77. SSE support.................no
    78. SSE2 support................no
    79. IWMMXT support..............no
    80. OpenGL support..............yes
    81. Direct3D support............no
    82. OpenSSL support.............no
    83. QtDBus support..............no
    84. QtXmlPatterns support.......yes
    85. Phonon support..............no
    86. WebKit support..............yes
    87. Qt3 compatibility...........yes
    88.  
    89. Third Party Libraries:
    90. ZLIB support............qt
    91. GIF support.............plugin
    92. TIFF support............plugin
    93. JPEG support............plugin
    94. PNG support.............qt
    95. MNG support.............plugin
    96.  
    97. Styles:
    98. Windows.................yes
    99. Windows XP..............yes
    100. Windows Vista...........yes
    101. Plastique...............yes
    102. Cleanlooks..............yes
    103. Motif...................yes
    104. CDE.....................yes
    105. Windows CE..............no
    106. Windows Mobile..........no
    107.  
    108. Sql Drivers:
    109. ODBC....................no
    110. MySQL...................no
    111. OCI.....................no
    112. PostgreSQL..............no
    113. TDS.....................no
    114. DB2.....................no
    115. SQLite..................plugin (qt)
    116. SQLite2.................no
    117. InterBase...............no
    118.  
    119. Sources are in..............C:\Qt\4.4.0
    120. Build is done in............C:\Qt\4.4.0
    121. Install prefix..............C:\Qt\4.4.0
    122. Headers installed to........C:/Qt/4.4.0/include
    123. Libraries installed to......C:/Qt/4.4.0/lib
    124. Plugins installed to........C:/Qt/4.4.0/plugins
    125. Binaries installed to.......C:/Qt/4.4.0/bin
    126. Docs installed to...........C:/Qt/4.4.0/doc
    127. Data installed to...........C:/Qt/4.4.0
    128. Translations installed to...C:/Qt/4.4.0/translations
    129. Examples installed to.......C:/Qt/4.4.0/examples
    130. Demos installed to..........C:/Qt/4.4.0/demos
    To copy to clipboard, switch view to plain text mode 
    Qt 5.3 Opensource & Creator 3.1.2

  11. #11
    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: Qt 4.4.0 make problem

    Does the release version of QtCore build properly?

  12. #12
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    There are nor warnings nor errors before the error I've posted.
    Qt 5.3 Opensource & Creator 3.1.2

  13. #13
    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: Qt 4.4.0 make problem

    So the answer is "yes"?

  14. #14
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    I do not know how to check otherwise to check it, so I think, is YES.
    Qt 5.3 Opensource & Creator 3.1.2

  15. #15
    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: Qt 4.4.0 make problem

    You don't know if you have the release mode libraries built? Are you serious? I suggest looking into the lib subdirectory of the unpacked sources.

  16. #16
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Question Re: Qt 4.4.0 make problem

    Well, there are some files (.prl), but there are no .dll neither .lib files, so I guess release mode libraries are NOT built.

    Do you think there are problems with makefiles?
    Qt 5.3 Opensource & Creator 3.1.2

  17. #17
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    We, no one knows?
    Qt 5.3 Opensource & Creator 3.1.2

  18. #18
    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: Qt 4.4.0 make problem

    From what you posted earlier it seems that release libs should have been built and from what I know they are built before the debug ones. So if they are not there, then most probably your makefile is somehow messed up (maybe a broken snapshot?). I suggest you download another snapshot or the technical preview version and try again.

  19. #19
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt 4.4.0 make problem

    Quote Originally Posted by MarkoSan View Post
    Well, now I have a problem. I ran configure and it was ok. I ran then
    Qt Code:
    1. make
    To copy to clipboard, switch view to plain text mode 
    and I get this error: ......

    Can someone help me?

    I am running momentaly Win XP Pro and MinGw.
    I'm running QT4.3.3 with MinGW in XP Pro but to install it I just clicked on the DOS console icon that was marked "build with debug" or something like that. 5 hours later it was done, and I had no problem compiling my homestead app using QDevelop, after configuring it properly.

  20. #20
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt 4.4.0 make problem

    Yep, but you are talking about 4.3.3. This version also works for me perfectly, but I cannto version 4.4.0 get compiled.
    Qt 5.3 Opensource & Creator 3.1.2

Similar Threads

  1. Problem with make (can't call moc.exe)
    By johnny_sparx in forum Installation and Deployment
    Replies: 4
    Last Post: 14th September 2007, 14:02
  2. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 21:35
  3. Qtopia core 4 make problem on FC5
    By nousetest in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 8th April 2007, 11:44
  4. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 06:57
  5. make problem
    By deekayt in forum Installation and Deployment
    Replies: 1
    Last Post: 30th November 2006, 18:33

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.