-
Notifications
You must be signed in to change notification settings - Fork 2
Adds various fixes, improvements and finally the qt4 qt5 common build #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Adds various fixes, improvements and finally the qt4 qt5 common build #4
Conversation
Update to qt5
…e/qt5 Use qt5-designer as package dependency
Those are generated from the .pc.in
This is not a tutorial about using opengl, it does not showcase how to use opengl, and does not include qt-opengl correctly.
Realizing that this is to be replaced entirely later.
This is not a tutorial about using opengl, it does not showcase how to use opengl, and does not include qt-opengl correctly.
In my opinion the better style.
|
@planthaber please take a look and merge. Afterwards, the qt5 branch is merged and obsolete. We'd need to check if it is referenced anywhere and then delete. |
| # the INSTALLED_HDRS do not use them. | ||
| LIBS_QT4 Qt4::QtDesigner | ||
| LIBS_QT5 Qt5::UiPlugin | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here LIBS_QT4 above is used twice, so it could either be one call or the above shloud be different to add these into the pc file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The first instance of that is for the option of either using LIBS_QT4 with Qt targets and supplying the pkg-config yourselves or using DEPS_PKGCONFIG but not having cmake check if one tries to link different Qts into the same binary.
The second instance of LIBS_QT4 is correct here since one only needs the pkgconfig requires: for things that are exported in headers(so the users of the headers link anything extra needed from the libraries by the headers), but the plugin-header does not need to be exported. I don't see a use-case where one would directly use the plugin-object instead of going through the plugin system. This may change when i find out how to statically add plugins to binaries.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So they aren't combined in a single (LIBS_QT4 Qt4::QtCore Qt4::QtGui Qt4::QtDesigner) line for documentation reasons?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats my idea here, yes.
No description provided.