QuasarApp / CQtDeployer

This project is used to deploy applications written using QML, qt or other С / С++ frameworks.
https://quasarapp.ddns.net:3031/docs/QuasarApp/CQtDeployer/latest/
GNU Lesser General Public License v3.0
570 stars 89 forks source link

Cmake support #787

Closed SergeyDG29 closed 8 months ago

SergeyDG29 commented 8 months ago

Good afternoon, please clarify does CQtDeployer support building only qmake or does it work with cmake? When building on cmake, I did not notice any problems in Qt 6.5.

cqtdeployer -bin ASAMEventLog -qmake /home/sergey/QtNew/6.5.2/gcc_64/bin/qmake qif -qifstyle QuasarDark -libDir /QLibrary -extraLibs libxcb -icon /home/sergey/QtProject/build-ASAMEventLog-Desktop_Qt_6_5_2_GCC_64bit-Release/LogoASAM.ico

EndrII commented 8 months ago

The qmake options just using to get information about qt paths for specific qt locations. Qt still not provide this information in main cmake file.

Yes, it will be works correctly for all versions of Qt (include latest Qt that contains qmake only as wrapper of cmake). This is just a historical syntax. It might make sense to rename this option in the future. For example, QtRootDir or something else...

SergeyDG29 commented 8 months ago

Yes, that was a good idea and not misleading

EndrII commented 8 months ago

@SergeyDG29 see #788