Why do we use find_package(Qt5Widgets) ?

Alexander Neundorf neundorf at kde.org
Thu Jul 18 19:26:58 UTC 2013


Hi,

e.g. in staging/kcrash/, there is a
find_package(Qt5Widgets)

I'm sure kcrash also needs QtCore, directly.

Why aren't we using the component style search, i.e.
find_package(Qt5 COMPONENTS Core Widgets) ?

This way multiple Qt modules can be searched at once, and would be the same 
style as for our frameworks libraries:

find_package(KF5 COMPONENTS KCoreAddons ItemViews) ?

Alex


More information about the Kde-frameworks-devel mailing list