hi,

am Sonntag 30 September 2012, 09:14:56 schrieb Thomas Friedrichsmeier:
> On Sunday 30 September 2012, meik michalke wrote:
> > CMake Error: The following variables are used in this project, but they
> > are
> > set to NOTFOUND.
> > Please set them or make sure they are set and tested correctly in the
> > CMake
> > files:
> > QT_QT_INCLUDE_DIR
> >
> >    used as include directory in directory
> >
> > /opt/rkward/var/macports/build/_opt_ports_kde_rkward/rkward-
> > devel/work/trunk/rkward/build/CMakeFiles/CMakeTmp
>
> QT_QT_INCLUDE_DIR should apparently be set to ${QT_INCLUDE_DIR}/Qt, or to
> whichever path contains qglobal.h.

hm... there is no directory ${QT_INCLUDE_DIR}/Qt. there used to be, until
recently, but now qglobal.h is only to be found in ${QT_INCLUDE_DIR}/QtCore,
allthough it still seems to be present in the sources:

<snip>
RKWard-iMac:~ meik$ find /opt/rkward -name 'qglobal.h' 2>/dev/null
/opt/rkward/Library/Frameworks/QtCore.framework/Versions/4/Headers/qglobal.h
/opt/rkward/var/macports/build/_opt_rkward_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-
mac/qt4-
mac/work/destroot/opt/rkward/Library/Frameworks/QtCore.framework/Versions/4/Headers/qglobal.h
/opt/rkward/var/macports/build/_opt_rkward_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-
mac/qt4-mac/work/qt-everywhere-opensource-src-4.8.3/include/Qt/qglobal.h
/opt/rkward/var/macports/build/_opt_rkward_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-
mac/qt4-mac/work/qt-everywhere-opensource-src-4.8.3/include/QtCore/qglobal.h
/opt/rkward/var/macports/build/_opt_rkward_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-
mac/qt4-mac/work/qt-everywhere-opensource-
src-4.8.3/lib/QtCore.framework/Versions/4/Headers/qglobal.h
/opt/rkward/var/macports/build/_opt_rkward_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-
mac/qt4-mac/work/qt-everywhere-opensource-
src-4.8.3/src/corelib/global/qglobal.h
</snip>

> You could also try looking at FindQt4.cmake itself for more details, on
> where exactly it looks for the path (this seems to have changed across
> versions). Note: It's the FindQt4.cmake from
> /usr/share/kde4/apps/cmake/modules, not /usr/share/cmake-2.8/Modules
> (Debian paths).

my guess is it's /opt/rkward/share/apps/cmake/modules/FindQt4.cmake here, so
the relevant section would be:

<snip>
  # Set QT_QT_INCLUDE_DIR
  FIND_PATH(QT_QT_INCLUDE_DIR qglobal.h
    PATHS
    ${QT_HEADERS_DIR}/Qt
    ${QT_LIBRARY_DIR}/QtCore.framework/Headers
    NO_DEFAULT_PATH
    )
</snip>

i'd say the difference between ${QT_LIBRARY_DIR}/QtCore.framework/Headers and
${QT_LIBRARY_DIR}/QtCore.framework/Versions/4/Headers is causing the failure.
however, adding

 -DQT_QT_INCLUDE_DIR=/opt/rkward/include/QtCore

to the cmake options works. i've changed the portfile accordingly.


viele grüße :: m.eik

--
dipl. psych. meik michalke
institut f"ur experimentelle psychologie
abt. f"ur diagnostik und differentielle psychologie
heinrich-heine-universit"at d-40204 d"usseldorf

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
RKWard-devel mailing list
RKWard-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rkward-devel

Reply via email to