Re: Building KF5/Kate fails

2014-03-09 Thread Dominik Haumann
On Tuesday 04 March 2014 20:52:45 Michael Pyne wrote:
> On Tue, March 4, 2014 22:56:03 Dominik Haumann wrote:
> > Building KF5 mostly works, except I now get the error (cleaned build +
> > install folder) below when building kate. It looks as if Qt4 is somehow in
> > the way now. This used to work before, so is there any way to get it
> > working again?
> 
> It seems to be looking for Qt4 specifically. You might want to see if
> kdesrc- build didn't accidentally switch the source git-branch to the KDE4
> one instead of KDE5 one (it should list the branch it's using as it updates
> the module).

Works now. I had to change these two things:

1. sudo zypper install perl-JSON
2. Add 
   branch-group kf5-qt5
   to kf5/src/kdesrc-buildrc

Greetings,
Dominik
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Building KF5/Kate fails

2014-03-04 Thread Michael Pyne
On Tue, March 4, 2014 22:56:03 Dominik Haumann wrote:
> Building KF5 mostly works, except I now get the error (cleaned build +
> install folder) below when building kate. It looks as if Qt4 is somehow in
> the way now. This used to work before, so is there any way to get it
> working again?

It seems to be looking for Qt4 specifically. You might want to see if kdesrc-
build didn't accidentally switch the source git-branch to the KDE4 one instead 
of KDE5 one (it should list the branch it's using as it updates the module).

Regards,
 - Michael Pyne
___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Building KF5/Kate fails

2014-03-04 Thread Dominik Haumann
Building KF5 mostly works, except I now get the error (cleaned build + install
folder) below when building kate. It looks as if Qt4 is somehow in the way now.
This used to work before, so is there any way to get it working again?

The detailed cmake logs are on paste.kde.org (see below).

Greetings ;)
Dominik

# kdesrc-build running: 'cmake' '/home/dh/kde/kf5/src/kde/applications/kate' 
'-DKDE4_BUILD_TESTS=TRUE' '-DLIB_SUFFIX=64' '-DCMAKE_BUILD_TYPE=Debug' 
'-DCMAKE_CXX_FLAGS:STRING=-pipe -DQT_STRICT_ITERATORS 
-DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP -DQT_NO_FTP -Wformat 
-Werror=format-security -Werror=return-type -Wno-variadic-macros -Wlogical-op ' 
'-DCMAKE_INSTALL_PREFIX=/home/dh/kde/kf5/usr'
# from directory: /home/dh/kde/kf5/build/kde/applications/kate
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- 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 - not 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
CMake Error at /usr/share/kde4/apps/cmake/modules/FindQt4.cmake:886 (MESSAGE):
  Could NOT find QtCore.  Check
  /home/dh/kde/kf5/build/kde/applications/kate/CMakeFiles/CMakeError.log for
  more details.
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:420 (find_package)
  /home/dh/kde/kf5/usr/share/cmake-3.0/Modules/FindKDE4.cmake:108 (find_package)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also 
"/home/dh/kde/kf5/build/kde/applications/kate/CMakeFiles/CMakeOutput.log". ( 
http://paste.kde.org/pin3zxzhc )
See also 
"/home/dh/kde/kf5/build/kde/applications/kate/CMakeFiles/CMakeError.log". ( 
http://paste.kde.org/pqfrz4jie )

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel