https://bugs.kde.org/show_bug.cgi?id=459125
Bug ID: 459125 Summary: KNewStuff fails to compile statically with widgets/action.h:68:57: error: 'KF5NewStuffWidgets_EXPORTS' is not defined, evaluates to 0 Product: frameworks-knewstuff Version: 5.98.0 Platform: Other OS: Other Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: ad...@leinir.dk Reporter: m...@dawidwrobel.com CC: alexander.loh...@gmx.de, kdelibs-b...@kde.org Target Milestone: --- SUMMARY While compiling with -DBUILD_SHARED_LIBS=OFF, getting the: In file included from /Users/cromo/Documents/Sourcecode/vcpkg/buildtrees/kf5newstuff/src/v5.98.0-c49e20fd43.clean/src/widgets/action.cpp:8: /Users/cromo/Documents/Sourcecode/vcpkg/buildtrees/kf5newstuff/src/v5.98.0-c49e20fd43.clean/src/widgets/action.h:68:57: error: 'KF5NewStuffWidgets_EXPORTS' is not defined, evaluates to 0 [-Werror,-Wundef] #if !KNEWSTUFFWIDGETS_ENABLE_DEPRECATED_SINCE(5, 90) || KF5NewStuffWidgets_EXPORTS ^ /Users/cromo/Documents/Sourcecode/vcpkg/buildtrees/kf5newstuff/src/v5.98.0-c49e20fd43.clean/src/widgets/action.cpp:82:35: error: no viable conversion from 'const QList<KNSCore::EntryInternal>' to 'const QList<KNS3::Entry>' Q_EMIT dialogFinished(changedInternalEntries); ^~~~~~~~~~~~~~~~~~~~~~ /Users/cromo/Documents/Sourcecode/vcpkg/vcpkg_installed/arm64-osx/include/qt5/QtCore/qlist.h:161:5: note: candidate constructor not viable: no known conversion from 'const QList<KNSCore::EntryInternal>' to 'const QList<KNS3::Entry> &' for 1st argument QList(const QList<T> &l); ^ /Users/cromo/Documents/Sourcecode/vcpkg/vcpkg_installed/arm64-osx/include/qt5/QtCore/qlist.h:164:12: note: candidate constructor not viable: no known conversion from 'const QList<KNSCore::EntryInternal>' to 'QList<KNS3::Entry> &&' for 1st argument inline QList(QList<T> &&other) noexcept ^ /Users/cromo/Documents/Sourcecode/vcpkg/vcpkg_installed/arm64-osx/include/qt5/QtCore/qlist.h:169:12: note: candidate constructor not viable: no known conversion from 'const QList<KNSCore::EntryInternal>' to 'std::initializer_list<Entry>' for 1st argument inline QList(std::initializer_list<T> args) ^ SOFTWARE/OS VERSIONS macOS: 12.6 Qt Version: 5.15.6 -- You are receiving this mail because: You are watching all bug changes.