Skip to content

Support side-by-side installation of Qt4 and Qt5 builds #3

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

Merged
merged 1 commit into from
Mar 9, 2017
Merged

Support side-by-side installation of Qt4 and Qt5 builds #3

merged 1 commit into from
Mar 9, 2017

Conversation

manisandro
Copy link

I'd like to propose this patch to support side-by-side installation of osgQt built against both Qt4 and Qt5. This would greatly simplify the packaging task downstream in various Linux distros, since not all projects have made the transition to Qt5 and hence both osgQt-qt4 and osgQt-qt5 are needed. (And the same situation might occur again if and when Qt6 is released).

Having support upstream would be advantageous instead of every distro hacking in their own solution.

This proposed patch keeps the osgQt name for the Qt4 build, but adds a 5 (i.e. osgQt5) for the Qt5 build. This is consistent with Qt (i.e. libQtCore -> Qt4, libQt5Core -> Qt5). It adds qt5 to the name of the example executables as appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants