aacid added a comment.
But does the code *really* need qwidget? I In D20005#437029 <https://phabricator.kde.org/D20005#437029>, @cgiboudeaux wrote: > In D20005#436993 <https://phabricator.kde.org/D20005#436993>, @aacid wrote: > > > That not ideal, ki18n should be usable for projects that don't use widgets too. > > > > I'd say the bug is on the calling cmake side, if it has a ui file it must surely depend on widgets on the calling side, so just add it there? > > > Well, KF5I18nConfig.cmake includes KF5I18nMacros.cmake that requires Qt5Widgets. Does it? it doesn't here, or you mean "requires Qt5Widgets" because it tries to use Qt5::uic ? REPOSITORY R249 KI18n REVISION DETAIL https://phabricator.kde.org/D20005 To: aspotashev, #frameworks Cc: cgiboudeaux, aacid, kde-frameworks-devel, michaelh, ngraham, bruns