KDE TechBase
  • Page
  • Discussion
  • Edit
  • +
  • History
KDE TechBase is a Wiki - You can help! Please contribute! Questions?
Please ask development related questions in the KDE Community Forum.

Talk:Getting Started/Build/KDE4/FreeBSD

< Talk:Getting Started | Build/KDE4

[edit] qt4 from ports

I've installed qt4 from ports, so I've skipped qt-copy.

Got the following error when running cmakekde in kdesupport:

[... ~/kde/src/kdesupport]$ cmakekde
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Found ZLIB: /usr/lib/libz.so
-- Looking for __RTTI___ in Crun
-- Looking for __RTTI___ in Crun - not found
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - 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.
WARNING querying qmake for QMAKE_MOC.  qmake reported:
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /usr/home/gogo/kde/build/kdesupport/soprano/CMakeFiles/CMakeTmpQmake/tmp.pro
WARNING querying qmake for QMAKE_UIC.  qmake reported:
QMAKESPEC has not been set, so configuration cannot be deduced.
Error processing project file: /usr/home/gogo/kde/build/kdesupport/soprano/CMakeFiles/CMakeTmpQmake/tmp.pro
-- Qt's moc NOT found!
-- Qt's uic NOT found!
CMake Error: Qt libraries, includes, moc, uic or/and rcc NOT found!
-- Configuring done

After setting QMAKESPACE in the ~/.bashrc file (and deleting the build/kdesupport directory)

#export QTDIR=$HOME/qt-copy
export QMAKESPEC=/usr/local/share/qt4/mkspecs/freebsd-g++
#export QT_PLUGINS_DIR=$KDEDIR/lib/kde4/plugins:$QT_PLUGINS_DIR

the command cmakekde in the directory src/kdesupport works.

Retrieved from "http://techbase.kde.org/Talk:Getting_Started/Build/KDE4/FreeBSD"

Navigation

  • Home
  • Help
  • Recent changes

Sections

  • Getting started
  • Development
  • Schedules
  • Policies
  • Contribute
  • Projects

Toolbox

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link

Personal tools

  • 38.107.191.96
  • Talk for this IP
  • Log in / create account
  • Login with OpenID
Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal