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

            Bug ID: 515801
           Summary: Build is broken since 0.15.0 (linking error)
    Classification: Applications
           Product: kaidan
      Version First unspecified
       Reported In:
          Platform: Compiled Sources
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

At the end of the build it errors out with linking errors

STEPS TO REPRODUCE
1. build with kde-builder or building 0.15.0 with cmake


OBSERVED RESULT

Build errors out with:

```
[ 97%] Linking CXX executable ../../bin/kaidan
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
../../lib/liblibkaidancore.a(Call.cpp.o): in function
`Call::setCall(std::unique_ptr<QXmppCall, std::default_delete<QXmppCall> >)':
Call.cpp:(.text+0x78a): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
Call.cpp:(.text+0x7da): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
../../lib/liblibkaidancore.a(Call.cpp.o): in function `Call::setUpCall()':
Call.cpp:(.text+0xe55): undefined reference to
`QXmppCall::streamCreated(QXmppCallStream*)'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
Call.cpp:(.text+0xea5): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
../../lib/liblibkaidancore.a(Call.cpp.o): in function
`Call::handleCallReceived(std::unique_ptr<QXmppCall,
std::default_delete<QXmppCall> >&)':
Call.cpp:(.text+0xfe3): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
Call.cpp:(.text+0x102f): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
Call.cpp:(.text+0x108b): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
Call.cpp:(.text+0x10db): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
../../lib/liblibkaidancore.a(Call.cpp.o): in function
`QtPrivate::QCallableObject<Call::startCall()::{lambda(std::variant<std::shared_ptr<QXmppJingleMessageInitiation>,
QXmppError>&&)#1}::operator()(std::variant<std::shared_ptr<QXmppJingleMessageInitiation>,
QXmppError>&&) const::{lambda(QString const&, QString const&)#1},
QtPrivate::List<QString const&, QString const&>, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)':
Call.cpp:(.text+0x1280): undefined reference to `QXmppCall::finished()'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
Call.cpp:(.text+0x12d0): undefined reference to `QXmppCall::staticMetaObject'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
../../lib/liblibkaidancore.a(CallController.cpp.o): in function
`CallController::CallController(AccountSettings*, Connection*,
NotificationController*, QXmppJingleMessageInitiationManager*,
QXmppCallManager*, QObject*)':
CallController.cpp:(.text+0x152): undefined reference to
`QXmppCallManager::callReceived(std::unique_ptr<QXmppCall,
std::default_delete<QXmppCall> >&)'
/boot/system/develop/tools/bin/../lib/gcc/x86_64-unknown-haiku/13.3.0/../../../../x86_64-unknown-haiku/bin/ld:
CallController.cpp:(.text+0x19e): undefined reference to
`QXmppCallManager::staticMetaObject'
collect2: error: ld returned 1 exit status
```

EXPECTED RESULT

Build completes with proper linking.

SOFTWARE/OS VERSIONS
Haiku R1B5 64bit: 
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0 (system), 6.24.0 (kde-builder)
Qt Version: 6.10.2

ADDITIONAL INFORMATION

Build/packaging for 0.14.0 went fine and Kaidan launches OK.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to