Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)
ClosedPublic

Authored by asturmlechner on Apr 13 2018, 10:03 PM.

Details

Summary

A change in Qt 5.11_beta3 leads to errors like:

CMake Error at renderer/CMakeLists.txt:12 (qt5_use_modules):

`Unknown CMake command "qt5_use_modules".`
Test Plan

Built fine.

Diff Detail

Repository
R158 Kdenlive
Branch
Applications/18.04
Lint
No Linters Available
Unit
No Unit Test Coverage
asturmlechner requested review of this revision.Apr 13 2018, 10:03 PM
asturmlechner created this revision.

Hi! Thanks a lot for your patch. In fact, on my side a few more changes were required to successfully make it compile. Attached is my diff. Ok for you ?

Hi! Thanks a lot for your patch. In fact, on my side a few more changes were required to successfully make it compile. Attached is my diff. Ok for you ?

Interestingly the missing components in find_package(Qt5...) do not make my build fail so they may be provided implicitly. I see that Qt5::Concurrent is in use though so it should definitely added. I don't see the QuickWidgets usage though?

Well it failed for me on Qt 5.9. But correct, QuickWidgets is an error (required for the refactoring branch but not 18.04).

Update with mardelle's changes, drop obsolete QT*_LIBRARIES

I can push this to 18.04 branch and merge back to master. I guess it makes more sense for you to pick/merge this to refactor branch with the required changes.

mardelle accepted this revision.Apr 20 2018, 6:08 AM

Perfect, thanks. I will take care of the refactoring branch.

This revision is now accepted and ready to land.Apr 20 2018, 6:08 AM
asturmlechner closed this revision.Apr 20 2018, 7:46 AM