Building DBusMenu-Qt

David Doria daviddoria at
Mon Jun 20 14:46:28 BST 2011

On Sat, Jun 18, 2011 at 12:36 AM, Duncan <1i5t5.duncan at> wrote:
> David Doria posted on Fri, 17 Jun 2011 22:28:59 -0400 as excerpted:
>> I am on RHEL 5.6 which has super old packages of everything. I have
>> therefore built Qt from source and am building kdelibs from source. So
>> my question is more of "why did qdbusxml2cpp not get built when I built
>> Qt?". Is there a way to "enable everything" or something like that? I'm
>> so used to cmake now-a-days that I don't know how to set options like
>> that without it!
> 5.6. Yeah, that'd be older packages, for sure.
> Why didn't qdbusxml2cpp get built with qt?  I don't know as the gentoo
> build-scripts have always taken care of that for me.
> Are you sure it did /not/ get built?  Here, it's in /usr/bin, but
> presumably it'd be in /usr/local/bin or the like if you didn't specify a
> location for it.

I don't know what I did differently, but the xml2cpp and cpp2xml were
built this time around. This allowed me to build dbusmenu-qt. So now I
am back to trying to build kdelibs.

CMake is telling me:

 CMake Warning at cmake/modules/FindQt4.cmake:437 (MESSAGE):
    querying qmake for QMAKE_LIBS_OPENGL.  qmake reported:

   Failure to read QMAKESPEC conf file

   Error processing project file:

I don't think this makes sense, as
/home/ddoria/build/mkspecs/linux-g++-64/qmake.conf is certainly not a
directory. However, the file
/home/ddoria/bin/qt4/mkspecs/linux-g++-64/qmake.conf does indeed

I have set these variables in my bashrc:

export PATH=$PATH:/home/ddoria/bin/qt4/bin
export QTDIR=/home/ddoria/bin/qt4
export QT_QMAKE_EXECUTABLE=/home/ddoria/bin/qt4/bin/qmake

Any clues where to go from here?


This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list