Bug 134743 - Does not compile: Could NOT find QtCore
Summary: Does not compile: Could NOT find QtCore
Status: RESOLVED WORKSFORME
Alias: None
Product: kde-windows
Classification: Miscellaneous
Component: buildsystem (show other bugs)
Version: 4.0 alpha
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Ralf Habacker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-27 14:30 UTC by Marcel Partap
Modified: 2007-03-04 23:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Partap 2006-09-27 14:30:23 UTC
Version:           KDE4 SVN trunk/kdesupport/kdewin32 (using KDE Devel)
Installed from:    Compiled sources
Compiler:          qt-win-opensource-4.2.0-rc1-mingw cmake-2.4.3-win32-x86; GetGnuWin32-0.6.16
OS:                MS Windows

ok, following is the output while I'm trying to compile this on the Vista RC1.5600, is the problem I am not using qt-copy? I tried using the latest QT build because I could not apply qt-copy-patches...

C:\Downloads\kde4\kdesupport\kdewin32>cmake -G "MinGW Makefiles"
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe
-- Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
CMake Error: Error in cmake code at
C:/Program Files/CMake 2.4/share/CMake/Modules/FindQt4.cmake:526:
MESSAGE Could NOT find QtCore. Check CMakeFiles/CMakeError.log for more details.
Current CMake stack: C:/Downloads/kde4/kdesupport/kdewin32/CMakeLists.txt;C:/Program Files/CMake 2.4/share/
CMake/Modules/FindQt4.cmake
-- Configuring done
Comment 1 Marcel Partap 2006-10-06 19:22:53 UTC
ok, I recompiled QT with the qt-copy-patches applied, updated the CMake files and stuff. The same error comes up, on a different line though (because I updated FindQt4.cmake). I don't understand this error and I cannot fix it. I tried. The relevant part of the FindQt4.cmake:
  IF( NOT QT_QTCORE_LIBRARY_DEBUG AND NOT QT_QTCORE_LIBRARY_RELEASE )
    IF( NOT Qt4_FIND_QUIETLY AND Qt4_FIND_REQUIRED)
      MESSAGE( FATAL_ERROR "Could NOT find QtCore. Check CMakeFiles/CMakeError.log for more details.")
So, what COULD be the problem here compiling KDE4 SVN with MinGW?
Comment 2 Marcel Partap 2007-03-04 23:37:33 UTC
... I guess KDE4win32 problems moved on (according to the list..) so closed ;)