qt5: Fix usage examples as libraries in qt5 are named QT5XXX and not QTXXX as in qt4 (ie. QT5WIDGETS instead of QTWIDGETS)

This commit is contained in:
fedepell 2016-06-05 20:43:13 +02:00 committed by Thomas Nagy
parent f71fe257ff
commit 32bd21a77f
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ The following snippet illustrates the tool usage::
def build(bld):
bld(
features = 'qt5 cxx cxxprogram',
uselib = 'QTCORE QTGUI QTOPENGL QTSVG',
uselib = 'QT5CORE QT5GUI QT5OPENGL QT5SVG',
source = 'main.cpp textures.qrc aboutDialog.ui',
target = 'window',
)
@ -335,7 +335,7 @@ def apply_qt5(self):
Add MOC_FLAGS which may be necessary for moc::
def build(bld):
bld.program(features='qt5', source='main.cpp', target='app', use='QTCORE')
bld.program(features='qt5', source='main.cpp', target='app', use='QT5CORE')
The additional parameters are: