Hi,

Is anyone able to tell me if QtCreator is able to have a CMAKE var defined with 
multiple values?

The default value for a project is %{Qt:QT_INSTALL_PREFIX}, is it possible to 
append more paths?

I have for Qt Creator itself the following:

-DCMAKE_PREFIX_PATH:PATH=%{Qt:QT_INSTALL_PREFIX};c:/llvm/msvc

Instead of mashing different paths in CMAKE_PREFIX_PATH, I suggest to define one <PackageName>_ROOT variable per dependency. That's more explicit and IMO much easier to maintain. Using one global CMAKE_PREFIX_PATH separated with semicolons feels a bit old-fashioned.

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to