error compiling 3.4.2

Robby Stephenson robby at periapsis.org
Sun Dec 5 02:36:15 GMT 2021


>
> On Thu, Dec 2, 2021 at 10:29 PM Derek Tombrello <
> RebelTaz at robotsandcomputers.com> wrote:
>
>> Well... that got us further...
>>
>> Scanning dependencies of target newstufftest_autogen
>> [ 63%] Automatic MOC and RCC for target newstufftest
>> [ 63%] Built target newstufftest_autogen
>> Scanning dependencies of target newstufftest
>> [ 63%] Building CXX object
>> src/tests/CMakeFiles/newstufftest.dir/newstufftest.cpp.o
>> /home/derek/Downloads/tellico-3.4.2/src/tests/newstufftest.cpp:31:10:
>> fatal error: QDBusConnection: No such file or directory
>>  #include <QDBusConnection>
>>           ^~~~~~~~~~~~~~~~~
>> compilation terminated.
>>
>>
Trying to think through what might be missing - do you mind editing the
src/tests/CMakeFiles.txt file? Down around line 78, if you change
     LINK_LIBRARIES Qt5::Test newstuff config
to
    LINK_LIBRARIES Qt5::Test Qt5::DBus newstuff config

Does that help? Or since this seems to be a problem in compiling a unit
test, you can avoid that by passing -DBUILD_TESTING=FALSE to your cmake
command

Robby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/tellico-users/attachments/20211204/87ec6c0d/attachment.htm>


More information about the tellico-users mailing list