<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Kevin,<br>
I remove the build directory and recreate it, I change shell
in order to use a clean $PATH var. <br>
I export the directory: <br>
<tt>export
PATH=/home/juba/Qt/qt-everywhere-opensource-src-4.8.4/bin:$PATH<br>
</tt> <br>
I am sure that the only qmake found in my path is the rigth one,
because before the export command no qmake was found using the
shell completion.<br>
<br>
I run CMake, but the result was the same:<br>
<tt>-- The C compiler identification is GNU</tt><tt><br>
</tt><tt>-- The CXX compiler identification is GNU</tt><tt><br>
</tt><tt>-- Check for working C compiler: /usr/bin/gcc</tt><tt><br>
</tt><tt>-- Check for working C compiler: /usr/bin/gcc -- works</tt><tt><br>
</tt><tt>-- Detecting C compiler ABI info</tt><tt><br>
</tt><tt>-- Detecting C compiler ABI info - done</tt><tt><br>
</tt><tt>-- Check for working CXX compiler: /usr/bin/c++</tt><tt><br>
</tt><tt>-- Check for working CXX compiler: /usr/bin/c++ -- works</tt><tt><br>
</tt><tt>-- Detecting CXX compiler ABI info</tt><tt><br>
</tt><tt>-- Detecting CXX compiler ABI info - done</tt><tt><br>
</tt><tt>-- Building GammaRay 1.3.2 in Release mode</tt><tt><br>
</tt><tt>-- Looking for Q_WS_X11</tt><tt><br>
</tt><tt>-- Looking for Q_WS_X11 - found</tt><tt><br>
</tt><tt>-- Looking for Q_WS_WIN</tt><tt><br>
</tt><tt>-- Looking for Q_WS_WIN - not found.</tt><tt><br>
</tt><tt>-- Looking for Q_WS_QWS</tt><tt><br>
</tt><tt>-- Looking for Q_WS_QWS - not found.</tt><tt><br>
</tt><tt>-- Looking for Q_WS_MAC</tt><tt><br>
</tt><tt>-- Looking for Q_WS_MAC - not found.</tt><tt><br>
</tt><tt>-- Found Qt4:
/home/juba/Qt/qt-everywhere-opensource-src-4.8.4/bin/qmake
(found suitable version "4.8.4", required is "4.7.0")</tt><tt><br>
</tt><tt>-- Looking for clock_gettime in rt</tt><tt><br>
</tt><tt>-- Looking for clock_gettime in rt - found</tt><tt><br>
</tt><tt>-- Looking for include files HAVE_STDINT_H</tt><tt><br>
</tt><tt>-- Looking for include files HAVE_STDINT_H - found</tt><tt><br>
</tt><tt>-- Performing Test HAVE_GCC_UNUSED_BUT_SET</tt><tt><br>
</tt><tt>-- Performing Test HAVE_GCC_UNUSED_BUT_SET - Success</tt><tt><br>
</tt><tt>-- Performing Test HAVE_GCC_LOGICAL_OP</tt><tt><br>
</tt><tt>-- Performing Test HAVE_GCC_LOGICAL_OP - Success</tt><tt><br>
</tt><tt>-- Looking for include files HAVE_GRAPHVIZ_VERSION_H</tt><tt><br>
</tt><tt>-- Looking for include files HAVE_GRAPHVIZ_VERSION_H -
found</tt><tt><br>
</tt><tt>-- Found Graphviz version 2.26.3</tt><tt><br>
</tt><tt>-- Found Graphviz: /usr/lib/libcdt.so /usr/lib/libgvc.so
/usr/lib/libcgraph.so /usr/lib/libgraph.so
/usr/lib/libpathplan.so</tt><tt><br>
</tt><tt><br>
</tt><tt>-----------------------------------------------------------------------------</tt><tt><br>
</tt><tt>-- The following external packages were located on your
system.</tt><tt><br>
</tt><tt>-- This installation will have the extra features
provided by these packages.</tt><tt><br>
</tt><tt>-----------------------------------------------------------------------------</tt><tt><br>
</tt><tt> * Script engine debugger in Qt - A debugger for
QtScript</tt><tt><br>
</tt><tt> * WebKit in Qt - A Qt-based web browser engine</tt><tt><br>
</tt><tt> * Qt SVG - Qt SVG renderer and generator</tt><tt><br>
</tt><tt> * Qt Designer Library - Qt graphical widget editor</tt><tt><br>
</tt><tt> * Qt Print Support - Qt PDF generation</tt><tt><br>
</tt><tt> * librt - High resolution clock for the timer profiler
plugin.</tt><tt><br>
</tt><tt> * Graphviz - Graph visualization software</tt><tt><br>
</tt><tt> * VTK - Visualization Toolkit</tt><tt><br>
</tt><tt><br>
</tt><tt>-----------------------------------------------------------------------------</tt><tt><br>
</tt><tt>-- The following OPTIONAL packages could NOT be located
on your system.</tt><tt><br>
</tt><tt>-- Consider installing them to enable more features from
this software.</tt><tt><br>
</tt><tt>-----------------------------------------------------------------------------</tt><tt><br>
</tt><tt> * Qt internals (4.7.0 or higher)
<a class="moz-txt-link-rfc2396E" href="http://developer.qt.nokia.com/"><http://developer.qt.nokia.com/></a></tt><tt><br>
</tt><tt> Private Qt headers, necessary for painter
debugging/profiling.</tt><tt><br>
</tt><tt> You must have a build version of Qt available. Make
sure the qmake found first in your execute comes from this build
version.</tt><tt><br>
</tt><tt> * KDE4 <a class="moz-txt-link-rfc2396E" href="http://www.kde.org/"><http://www.kde.org/></a></tt><tt><br>
</tt><tt> KDE libraries</tt><tt><br>
</tt><tt> Required for the KJob tracker plug-in</tt><tt><br>
</tt><tt><br>
</tt><tt>-----------------------------------------------------------------------------</tt><tt><br>
</tt><tt><br>
</tt><tt>-- Configuring done</tt><tt><br>
</tt><tt>-- Generating done</tt><tt><br>
</tt><tt>-- Build files have been written to:
/home/juba/Qt/GammaRay-1.3.2/build</tt><tt><br>
</tt><br>
As before I set the QT_PRIVATE_INCLUDE_DIR to:<br>
<tt>/home/juba/Qt/qt-everywhere-opensource-src-4.8.4/include/QtCore</tt><br>
using <tt>make edit_cache</tt>. Note that I must double configure
("c") and then I can generate makefiles, but I don't know why.<br>
<br>
Unfortunately as before I have the same error (now I report the
long output build, so you can check if all the targets are right):<br>
<tt><a class="moz-txt-link-abbreviated" href="mailto:juba@Jell:~/Qt/GammaRay-1.3.2/build$">juba@Jell:~/Qt/GammaRay-1.3.2/build$</a> make</tt><tt><br>
</tt><tt>Scanning dependencies of target man</tt><tt><br>
</tt><tt>[ 0%] Generating gammaray.1</tt><tt><br>
</tt><tt>[ 0%] Built target man</tt><tt><br>
</tt><tt>[ 1%] Generating qrc_gammaray.cxx</tt><tt><br>
</tt><tt>[ 1%] Generating krecursivefilterproxymodel.moc</tt><tt><br>
</tt><tt>[ 2%] Generating kfilterproxysearchline.moc</tt><tt><br>
</tt><tt>[ 2%] Generating resourcemodel.moc</tt><tt><br>
</tt><tt>[ 2%] Generating aboutpluginsdialog.moc</tt><tt><br>
</tt><tt>[ 3%] Generating mainwindow.moc</tt><tt><br>
</tt><tt>[ 3%] Generating metaobjecttreemodel.moc</tt><tt><br>
</tt><tt>[ 3%] Generating metapropertymodel.moc</tt><tt><br>
</tt><tt>[ 4%] Generating probe.moc</tt><tt><br>
</tt><tt>[ 4%] Generating proxydetacher.moc</tt><tt><br>
</tt><tt>[ 4%] Generating objectlistmodel.moc</tt><tt><br>
</tt><tt>[ 5%] Generating objectpropertymodel.moc</tt><tt><br>
</tt><tt>[ 5%] Generating objectdynamicpropertymodel.moc</tt><tt><br>
</tt><tt>[ 5%] Generating objectstaticpropertymodel.moc</tt><tt><br>
</tt><tt>[ 6%] Generating objecttreemodel.moc</tt><tt><br>
</tt><tt>[ 6%] Generating connectionmodel.moc</tt><tt><br>
</tt><tt>[ 6%] Generating connectionfilterproxymodel.moc</tt><tt><br>
</tt><tt>[ 7%] Generating methodinvocationdialog.moc</tt><tt><br>
</tt><tt>[ 7%] Generating methodargumentmodel.moc</tt><tt><br>
</tt><tt>[ 7%] Generating multisignalmapper.moc</tt><tt><br>
</tt><tt>[ 8%] Generating toolmodel.moc</tt><tt><br>
</tt><tt>[ 8%] Generating proxytoolfactory.moc</tt><tt><br>
</tt><tt>[ 8%] Generating sidepane.moc</tt><tt><br>
</tt><tt>[ 9%] Generating palettemodel.moc</tt><tt><br>
</tt><tt>[ 9%] Generating propertywidget.moc</tt><tt><br>
</tt><tt>[ 9%] Generating propertycoloreditor.moc</tt><tt><br>
</tt><tt>[ 10%] Generating propertydoublepaireditor.moc</tt><tt><br>
</tt><tt>[ 10%] Generating propertyextendededitor.moc</tt><tt><br>
</tt><tt>[ 10%] Generating propertyfonteditor.moc</tt><tt><br>
</tt><tt>[ 11%] Generating propertyintpaireditor.moc</tt><tt><br>
</tt><tt>[ 11%] Generating propertypaletteeditor.moc</tt><tt><br>
</tt><tt>[ 11%] Generating palettedialog.moc</tt><tt><br>
</tt><tt>[ 12%] Generating modeltester.moc</tt><tt><br>
</tt><tt>[ 12%] Generating modeltest.moc</tt><tt><br>
</tt><tt>[ 12%] Generating modelmodel.moc</tt><tt><br>
</tt><tt>[ 13%] Generating modelcellmodel.moc</tt><tt><br>
</tt><tt>[ 13%] Generating graphicsview.moc</tt><tt><br>
</tt><tt>[ 13%] Generating graphicssceneview.moc</tt><tt><br>
</tt><tt>[ 14%] Generating scenemodel.moc</tt><tt><br>
</tt><tt>[ 14%] Generating metatypesmodel.moc</tt><tt><br>
</tt><tt>[ 15%] Generating fontmodel.moc</tt><tt><br>
</tt><tt>[ 15%] Generating localemodel.moc</tt><tt><br>
</tt><tt>[ 15%] Generating localedataaccessor.moc</tt><tt><br>
</tt><tt>[ 16%] Generating localeaccessormodel.moc</tt><tt><br>
</tt><tt>[ 16%] Generating codecmodel.moc</tt><tt><br>
</tt><tt>[ 16%] Generating textdocumentmodel.moc</tt><tt><br>
</tt><tt>[ 17%] Generating textdocumentformatmodel.moc</tt><tt><br>
</tt><tt>[ 17%] Generating textdocumentcontentview.moc</tt><tt><br>
</tt><tt>[ 17%] Generating messagehandler.moc</tt><tt><br>
</tt><tt>[ 18%] Generating messagemodel.moc</tt><tt><br>
</tt><tt>[ 18%] Generating codecbrowser.moc</tt><tt><br>
</tt><tt>[ 18%] Generating connectioninspector.moc</tt><tt><br>
</tt><tt>[ 19%] Generating fontbrowser.moc</tt><tt><br>
</tt><tt>[ 19%] Generating localeinspector.moc</tt><tt><br>
</tt><tt>[ 19%] Generating metaobjectbrowser.moc</tt><tt><br>
</tt><tt>[ 20%] Generating metatypebrowser.moc</tt><tt><br>
</tt><tt>[ 20%] Generating modelinspector.moc</tt><tt><br>
</tt><tt>[ 20%] Generating modelinspectorwidget.moc</tt><tt><br>
</tt><tt>[ 21%] Generating objectinspector.moc</tt><tt><br>
</tt><tt>[ 21%] Generating resourcebrowser.moc</tt><tt><br>
</tt><tt>[ 21%] Generating resourcefiltermodel.moc</tt><tt><br>
</tt><tt>[ 22%] Generating sceneinspector.moc</tt><tt><br>
</tt><tt>[ 22%] Generating selectionmodelinspector.moc</tt><tt><br>
</tt><tt>[ 22%] Generating textdocumentinspector.moc</tt><tt><br>
</tt><tt>[ 23%] Generating widgetinspector.moc</tt><tt><br>
</tt><tt>[ 23%] Generating overlaywidget.moc</tt><tt><br>
</tt><tt>[ 23%] Generating widgettreemodel.moc</tt><tt><br>
</tt><tt>[ 24%] Generating widgetpreviewwidget.moc</tt><tt><br>
</tt><tt>[ 24%] Generating styleinspector.moc</tt><tt><br>
</tt><tt>[ 24%] Generating pixelmetricmodel.moc</tt><tt><br>
</tt><tt>[ 25%] Generating standardiconmodel.moc</tt><tt><br>
</tt><tt>[ 25%] Generating primitivemodel.moc</tt><tt><br>
</tt><tt>[ 25%] Generating controlmodel.moc</tt><tt><br>
</tt><tt>[ 26%] Generating abstractstyleelementmodel.moc</tt><tt><br>
</tt><tt>[ 26%] Generating abstractstyleelementstatetable.moc</tt><tt><br>
</tt><tt>[ 26%] Generating styleelementstatetablepage.moc</tt><tt><br>
</tt><tt>[ 27%] Generating complexcontrolmodel.moc</tt><tt><br>
</tt><tt>[ 27%] Generating dynamicproxystyle.moc</tt><tt><br>
</tt><tt>[ 27%] Generating paintbuffermodel.moc</tt><tt><br>
</tt><tt>[ 28%] Generating paintbufferviewer.moc</tt><tt><br>
</tt><tt>[ 28%] Generating paintbufferreplaywidget.moc</tt><tt><br>
</tt><tt>[ 28%] Generating ui_mainwindow.h</tt><tt><br>
</tt><tt>[ 29%] Generating ui_propertywidget.h</tt><tt><br>
</tt><tt>[ 29%] Generating ui_methodinvocationdialog.h</tt><tt><br>
</tt><tt>[ 29%] Generating ui_paintbufferviewer.h</tt><tt><br>
</tt><tt>[ 30%] Generating ui_propertydoublepaireditor.h</tt><tt><br>
</tt><tt>[ 30%] Generating ui_propertyextendededitor.h</tt><tt><br>
</tt><tt>[ 30%] Generating ui_propertyintpaireditor.h</tt><tt><br>
</tt><tt>[ 31%] Generating ui_palettedialog.h</tt><tt><br>
</tt><tt>[ 31%] Generating ui_graphicssceneview.h</tt><tt><br>
</tt><tt>[ 32%] Generating ui_codecbrowser.h</tt><tt><br>
</tt><tt>[ 32%] Generating ui_connectioninspector.h</tt><tt><br>
</tt><tt>[ 32%] Generating ui_fontbrowser.h</tt><tt><br>
</tt><tt>[ 33%] Generating ui_localeinspector.h</tt><tt><br>
</tt><tt>[ 33%] Generating ui_messagehandler.h</tt><tt><br>
</tt><tt>[ 33%] Generating ui_metatypebrowser.h</tt><tt><br>
</tt><tt>[ 34%] Generating ui_modelinspectorwidget.h</tt><tt><br>
</tt><tt>[ 34%] Generating ui_objectinspector.h</tt><tt><br>
</tt><tt>[ 34%] Generating ui_resourcebrowser.h</tt><tt><br>
</tt><tt>[ 35%] Generating ui_sceneinspector.h</tt><tt><br>
</tt><tt>[ 35%] Generating ui_selectionmodelinspector.h</tt><tt><br>
</tt><tt>[ 35%] Generating ui_styleinspector.h</tt><tt><br>
</tt><tt>[ 36%] Generating ui_textdocumentinspector.h</tt><tt><br>
</tt><tt>[ 36%] Generating ui_widgetinspector.h</tt><tt><br>
</tt><tt>[ 36%] Generating ui_styleelementstatetablepage.h</tt><tt><br>
</tt><tt>Scanning dependencies of target gammaray_probe</tt><tt><br>
</tt><tt>[ 36%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/__/3rdparty/kde/krecursivefilterproxymodel.cpp.o</tt><tt><br>
</tt><tt>[ 36%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/__/3rdparty/kde/kfilterproxysearchline.cpp.o</tt><tt><br>
</tt><tt>[ 37%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/__/3rdparty/qt/resourcemodel.cpp.o</tt><tt><br>
</tt><tt>[ 37%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/__/3rdparty/other/modelutils.cpp.o</tt><tt><br>
</tt><tt>[ 37%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/util.cpp.o</tt><tt><br>
</tt><tt>[ 38%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/aboutpluginsdialog.cpp.o</tt><tt><br>
</tt><tt>[ 38%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/mainwindow.cpp.o</tt><tt><br>
</tt><tt>/home/juba/Qt/GammaRay-1.3.2/core/mainwindow.cpp:38:68:
fatal error: private/qguiplatformplugin_p.h: No such file or
directory</tt><tt><br>
</tt><tt>compilation terminated.</tt><tt><br>
</tt><tt>make[2]: ***
[core/CMakeFiles/gammaray_probe.dir/mainwindow.cpp.o] Error 1</tt><tt><br>
</tt><tt>make[1]: *** [core/CMakeFiles/gammaray_probe.dir/all]
Error 2</tt><tt><br>
</tt><tt>make: *** [all] Error 2</tt><tt><br>
</tt><br>
That's all for now, I think I will be forced to use the GammaRay
without the Qt Internals support for now...<br>
<br>
Stefano.<br>
<br>
On 10/29/2013 11:21 AM, Kevin Funk wrote:<br>
</div>
<blockquote cite="mid:2321483.zLUAMYOW6l@helios" type="cite">
<pre wrap="">On Tuesday 29 October 2013, 11:14, Stefano Cordibella wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Thank you Kevin for your quick answer!
In my environment I am unable to auto-detect QT_PRIVATE_INCLUDE_DIR.
I export qmake bin dir in this way:
export PATH=/usr/local/Trolltech/Qt-4.8.4/bin:$PATH
</pre>
</blockquote>
<pre wrap="">
Hey,
You need to have 'qmake' from the build directory in your PATH. Then the
private-header check in CMake should succeed.
See the help text during the CMake run:
"Make sure the qmake found first in your execute comes from this build
version".
</pre>
<blockquote type="cite">
<pre wrap="">But CMake told me :
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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
-- Building GammaRay 1.3.2 in Release mode
-- 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.
-- Found Qt4: /usr/local/Trolltech/Qt-4.8.4/bin/qmake (found suitable
version "4.8.4", required is "4.7.0")
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for include files HAVE_STDINT_H
-- Looking for include files HAVE_STDINT_H - found
-- Performing Test HAVE_GCC_UNUSED_BUT_SET
-- Performing Test HAVE_GCC_UNUSED_BUT_SET - Success
-- Performing Test HAVE_GCC_LOGICAL_OP
-- Performing Test HAVE_GCC_LOGICAL_OP - Success
-- Looking for include files HAVE_GRAPHVIZ_VERSION_H
-- Looking for include files HAVE_GRAPHVIZ_VERSION_H - found
-- Found Graphviz version 2.26.3
-- Found Graphviz: /usr/lib/libcdt.so /usr/lib/libgvc.so
/usr/lib/libcgraph.so /usr/lib/libgraph.so /usr/lib/libpathplan.so
----------------------------------------------------------------------------
- -- The following external packages were located on your system.
-- This installation will have the extra features provided by these
packages.
----------------------------------------------------------------------------
- * Script engine debugger in Qt - A debugger for QtScript
* WebKit in Qt - A Qt-based web browser engine
* Qt SVG - Qt SVG renderer and generator
* Qt Designer Library - Qt graphical widget editor
* Qt Print Support - Qt PDF generation
* librt - High resolution clock for the timer profiler plugin.
* Graphviz - Graph visualization software
* VTK - Visualization Toolkit
----------------------------------------------------------------------------
- -- The following OPTIONAL packages could NOT be located on your system. --
Consider installing them to enable more features from this software.
---------------------------------------------------------------------------
-- * Qt internals (4.7.0 or higher) <a class="moz-txt-link-rfc2396E" href="http://developer.qt.nokia.com/"><http://developer.qt.nokia.com/></a> Private
Qt headers, necessary for painter debugging/profiling. You must have a
build version of Qt available. Make sure the qmake found first in your
execute comes from this build version.
* KDE4 <a class="moz-txt-link-rfc2396E" href="http://www.kde.org/"><http://www.kde.org/></a>
KDE libraries
Required for the KJob tracker plug-in
----------------------------------------------------------------------------
-
-- Configuring done
-- Generating done
-- Build files have been written to: /home/juba/Qt/GammaRay-1.3.2/build
So I try to set the QT_PRIVATE_INCLUDE_DIR manually via make edit_cache:
/home/juba/Qt/qt-everywhere-opensource-src-4.8.4/include/QtCore
After this the HARFBUZZ_INCLUDE_DIR become set to:
/home/juba/Qt/qt-everywhere-opensource-src-4.8.4/src/3rdparty/harfbuzz/src
After this setting I generate the Makefiles, but the build doesn't
complete...
The reported error is:
[ 38%] Building CXX object
core/CMakeFiles/gammaray_probe.dir/mainwindow.cpp.o
/home/juba/Qt/GammaRay-1.3.2/core/mainwindow.cpp:38:68: fatal error:
private/qguiplatformplugin_p.h: No such file or directory
compilation terminated.
make[2]: *** [core/CMakeFiles/gammaray_probe.dir/mainwindow.cpp.o] Error 1
make[1]: *** [core/CMakeFiles/gammaray_probe.dir/all] Error 2
make: *** [all] Error 2
</pre>
</blockquote>
<pre wrap="">
Using the other qmake binary probably should solve this already.
</pre>
<blockquote type="cite">
<pre wrap="">So I check the GammaRay root directory and I found the file in
3rdparty/qt/private/qguiplatformplugin_p.h
The file is also present in
qt-everywhere-opensource-src-4.8.4/src/gui/kernel/qguiplatformplugin_p.h
and
qt-everywhere-opensource-src-4.8.4/include/QtGui/private/qguiplatformplugin_
p.h, but I haven't diff the content.
Any idea to fix this build issue?
(I prefer to use mailing list in order to keep a reference to the
solution of the problem, so other people may track this solution).
</pre>
</blockquote>
<pre wrap="">
Perfectly fine, of course.
Greets
</pre>
<blockquote type="cite">
<pre wrap="">Stefano.
On 10/29/2013 09:33 AM, Kevin Funk wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Tuesday 29 October 2013, 08:57, Stefano Cordibella wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi again,
I have a question about compiling GammaRay with Qt internals
feature enable.
What is the directory that I should provide for this feature?
I edit the cmake cache and I found an entry named QT_PRIVATE_INCLUDE_DIR
but if I set a value for it I am unable to build GammaRay.
The documentation refer to the "build" directory of Qt, and I don't
understand if it refers to the source directory in which I compile the
library (my ~/Qt/qt-everywhere-opensource-src-4.8.4) or the installation
directory (the default /usr/local/Throlltech/Qt-4.8.4/).
Forgive me for this stupid question, but I am unable to find
documentation about this topic...
Thanks in advance,
Stefano.
</pre>
</blockquote>
<pre wrap="">
Hey Stefano,
unfortunately this is not a stupid question at all. It is a bit tricky to
get right with a Qt4 build at the moment. It's lacking documentation.
So, in order to enable that feature, QT_PRIVATE_INCLUDE_DIR should point
to
"$MY_QT4_IN_SOURCE_BUILD_DIRECTORY/include/QtCore". Note that you don't
have to specify that variable via CMake flags or anything, it's
auto-detected in case everything is alright.
It's important that you have an *in-source build* of Qt4 (the directory
must contain both a src/ and include/ directory after having compiled Qt)
-- it's currently not possible to make this work with an out-of-source
build.
Hope this clears up things a bit. In case you need to debug further, have
a
look at the root CMakeLists.txt file in GammaRay.git.
Feel free to ping us on #gammaray on Freenode (IRC).
Greets
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<b>Stefano Cordibella</b><br>
EDALab s.r.l. - Networked Embedded Systems<br>
<br>
Strada Le Grazie, 15 - 37134 Verona - Italy<br>
email : <a class="moz-txt-link-abbreviated" href="mailto:stefano.cordibella@edalab.it">stefano.cordibella@edalab.it</a><br>
skype : stefano.cordibella<br>
tel. : +39 045 802 70 85<br>
web : <a class="moz-txt-link-abbreviated" href="http://www.edalab.it">www.edalab.it</a></div>
</body>
</html>