Don't use Qt OpenGL module since Q5.4.
(grafted from 82e62ea2d785e093af68089e509b224f3f4f843f) --HG-- branch : develop
This commit is contained in:
parent
a479f3cb40
commit
2c19640089
|
@ -297,7 +297,6 @@ win32:*g++* {
|
||||||
$$[QT_INSTALL_BINS]/icuuc*.dll \ # Different name for different Qt releases
|
$$[QT_INSTALL_BINS]/icuuc*.dll \ # Different name for different Qt releases
|
||||||
$$[QT_INSTALL_BINS]/Qt5Core.dll \
|
$$[QT_INSTALL_BINS]/Qt5Core.dll \
|
||||||
$$[QT_INSTALL_BINS]/Qt5Concurrent.dll \
|
$$[QT_INSTALL_BINS]/Qt5Concurrent.dll \
|
||||||
$$[QT_INSTALL_BINS]/Qt5OpenGL.dll \
|
|
||||||
$$[QT_INSTALL_BINS]/Qt5Gui.dll \
|
$$[QT_INSTALL_BINS]/Qt5Gui.dll \
|
||||||
$$[QT_INSTALL_BINS]/Qt5Network.dll \
|
$$[QT_INSTALL_BINS]/Qt5Network.dll \
|
||||||
$$[QT_INSTALL_BINS]/Qt5PrintSupport.dll \
|
$$[QT_INSTALL_BINS]/Qt5PrintSupport.dll \
|
||||||
|
@ -309,6 +308,11 @@ win32:*g++* {
|
||||||
$$[QT_INSTALL_BINS]/libstdc++-6.dll \
|
$$[QT_INSTALL_BINS]/libstdc++-6.dll \
|
||||||
$$[QT_INSTALL_BINS]/libwinpthread-1.dll
|
$$[QT_INSTALL_BINS]/libwinpthread-1.dll
|
||||||
|
|
||||||
|
# Don't use Qt OpenGL module since Q5.4
|
||||||
|
equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 4) {
|
||||||
|
package.files += $$[QT_INSTALL_BINS]/Qt5OpenGL.dll
|
||||||
|
}
|
||||||
|
|
||||||
# For support Windows 7+
|
# For support Windows 7+
|
||||||
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 6) {
|
greaterThan(QT_MAJOR_VERSION, 4):greaterThan(QT_MINOR_VERSION, 6) {
|
||||||
package.files += $$[QT_INSTALL_BINS]/Qt5WinExtras.dll
|
package.files += $$[QT_INSTALL_BINS]/Qt5WinExtras.dll
|
||||||
|
|
|
@ -7,7 +7,12 @@
|
||||||
# File with common stuff for whole project
|
# File with common stuff for whole project
|
||||||
include(../../../common.pri)
|
include(../../../common.pri)
|
||||||
|
|
||||||
QT += widgets printsupport opengl
|
QT += widgets printsupport
|
||||||
|
|
||||||
|
# Don't use Qt OpenGL module since Q5.4
|
||||||
|
equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 4) {
|
||||||
|
QT += opengl
|
||||||
|
}
|
||||||
|
|
||||||
# Name of the library
|
# Name of the library
|
||||||
TARGET = vwidgets
|
TARGET = vwidgets
|
||||||
|
|
Loading…
Reference in New Issue
Block a user