[PerlQt4] Building on Windows
-
Hello,
I'm trying to build PerlQt4 on Windows (http://code.google.com/p/perlqt4/), both with MSVC and MinGW, but I'm having some kind of trouble when building Alien::QtSmoke (it cannot detect KDE, neither do I know how to make it detectable...).
At this step, the QtSmoke's Makefile.PL is downloading the kdebindings' source (http://chernabog.cc.vt.edu/pub/projects/kde/stable/4.5.5/src/), extracting it then trying to configure it with CMake. After a bit of PATH tweaking, it brings me the following error messages:
@-- Building for: NMake Makefiles
-- The C compiler identification is MSVC
-- The CXX compiler identification is MSVC
-- Check for CL compiler version
-- Check for CL compiler version - 1500
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC
/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio 9.0/VC
/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio 9.0/
VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.1 (using C:/Qt/4.7.1/bin/qmake.exe)
CMake Error at generator/parser/CMakeLists.txt:41 (install):
install Library TARGETS given no DESTINATION!CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindKDE4.cmake
:58 (MESSAGE):
ERROR: Could not find KDE4 kde4-config
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)-- Configuring incomplete, errors occurred!@
It is looking for kde4-config, but I could not find it on KDE on Windows (http://windows.kde.org/), and I don't feel to compile the whole KDE!
I'm launching CMake with the following arguments:
@cmake -DCMAKE_INSTALL_PREFIX=C:\Qt\Alien-QtSmoke-4.3.3\src\build -DENABLE_SMOKE=on -DENABLE_QTRUBY=off -DENABLE_QTWEBKIT_SMOKE=off -DENABLE_QTSCRIPT_SMOKE=off -DENABLE_QTUITOOLS_SMOKE=off -DENABLE_QTTEST_SMOKE=off -DENABLE_PHONON_SMOKE=off -DENABLE_QSCI_SMOKE=off -DENABLE_QWT_SMOKE=off -DENABLE_KDE_SMOKE=off -DENABLE_KDEVPLATFORM_SMOKE=off -DENABLE_KHTML_SMOKE=off -DENABLE_KTEXTEDITOR_SMOKE=off -DENABLE_SOLID_SMOKE=off -DENABLE_PLASMA_SMOKE=off -DENABLE_QTWEBKIT_RUBY=off -DENABLE_QTUITOOLS_RUBY=off -DENABLE_QTSCRIPT=off -DENABLE_QTTEST=off -DENABLE_PHONON_RUBY=off -DENABLE_QSCINTILLA_RUBY=off -DENABLE_QWT_RUBY=off -DENABLE_SOPRANO_RUBY=off -DENABLE_KDEVPLATFORM_RUBY=off -DENABLE_KORUNDUM_RUBY=off -DENABLE_KHTML_RUBY=off -DENABLE_KTEXTEDITOR_RUBY=off -DENABLE_SOLID_RUBY=off -DENABLE_KROSSRUBY=off -DENABLE_PLASMA_RUBY=off -DENABLE_QIMAGEBLITZ_SMOKE=off -G "MinGW Makefiles" -Wno-devC:\Qt\Alien-QtSmoke-4.3.3\src\kdebindings-4.5.4@
Would anyone have an idea about how to solve this?
Thanks!
PS: I forgot to say this does not cause any trouble in Linux with KDE installed.