[Akonadi] [Bug 316416] New: compiling error when qt4 and qt5 are installed

Johannes K. joker777vs.666 at gmail.com
Sat Mar 9 13:52:48 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=316416

            Bug ID: 316416
           Summary: compiling error when qt4 and qt5 are installed
    Classification: Unclassified
           Product: Akonadi
           Version: GIT (master)
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: joker777vs.666 at gmail.com

Hi

I have qt4 and qt5 installed but I try to install compile kde only with qt4
support by adding this option

-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4

to cmake.
Somehow some application still check for qt5 e.g. akonadi.
But it gives me the following compilation error

Linking CXX executable ../bin/akonadi_agent_server
CMakeFiles/akonadi_agent_server.dir/agentserver.cpp.o: In function
`Akonadi::AgentServer::startAgent(QString const&, QString const&, QString
const&)':
/home/joker/kdesrc/kdesupport/akonadi/agentserver/agentserver.cpp:66: undefined
reference to `akDebug()'

Any Ideas why? Is there a possibility to prevent akonadi and other kde
application to compile for qt5?

Thanks for your great work

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list