Allow serialport dependency
This commit is contained in:
parent
858649e57b
commit
2f796d33c9
@ -43,12 +43,7 @@ os.environ['VERSION'] = app_version
|
|||||||
# debug flags: -unsupported-bundle-everything -unsupported-allow-new-glibc
|
# debug flags: -unsupported-bundle-everything -unsupported-allow-new-glibc
|
||||||
flags = '' if os.getenv("DEBUG") is None else '-unsupported-allow-new-glibc'
|
flags = '' if os.getenv("DEBUG") is None else '-unsupported-allow-new-glibc'
|
||||||
|
|
||||||
# remove serial post dependency
|
|
||||||
os.rename(qt_dir + '/plugins/position', qt_dir + '/plugins/position1')
|
|
||||||
|
|
||||||
c.run('{} {}/usr/share/applications/*.desktop {} -appimage -qmake={}/bin/qmake'.format(
|
c.run('{} {}/usr/share/applications/*.desktop {} -appimage -qmake={}/bin/qmake'.format(
|
||||||
linuxdeployqt_bin, install_dir, flags, qt_dir))
|
linuxdeployqt_bin, install_dir, flags, qt_dir))
|
||||||
|
|
||||||
os.rename(qt_dir + '/plugins/position1', qt_dir + '/plugins/position')
|
|
||||||
|
|
||||||
c.run('mv {}-{}*.AppImage "{}"'.format(app_name, app_version, artifact_path))
|
c.run('mv {}-{}*.AppImage "{}"'.format(app_name, app_version, artifact_path))
|
||||||
|
@ -7,7 +7,8 @@ target_name = app_name
|
|||||||
qt_version = '5.14.0'
|
qt_version = '5.14.0'
|
||||||
qt_modules = ['qtbase', 'qttools', 'icu',
|
qt_modules = ['qtbase', 'qttools', 'icu',
|
||||||
'qttranslations', 'qtx11extras', 'qtwebengine', 'qtwebchannel',
|
'qttranslations', 'qtx11extras', 'qtwebengine', 'qtwebchannel',
|
||||||
'qtdeclarative', 'qtlocation', 'opengl32sw', 'd3dcompiler_47']
|
'qtdeclarative', 'qtlocation', 'opengl32sw', 'd3dcompiler_47',
|
||||||
|
'qtserialport']
|
||||||
qt_dir = path.abspath('qt')
|
qt_dir = path.abspath('qt')
|
||||||
|
|
||||||
build_dir = path.abspath('build')
|
build_dir = path.abspath('build')
|
||||||
|
Loading…
Reference in New Issue
Block a user