Allow serialport dependency

This commit is contained in:
Gres 2020-04-12 14:45:11 +03:00
parent 858649e57b
commit 2f796d33c9
2 changed files with 2 additions and 6 deletions

View File

@ -43,12 +43,7 @@ os.environ['VERSION'] = app_version
# debug flags: -unsupported-bundle-everything -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(
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))

View File

@ -7,7 +7,8 @@ target_name = app_name
qt_version = '5.14.0'
qt_modules = ['qtbase', 'qttools', 'icu',
'qttranslations', 'qtx11extras', 'qtwebengine', 'qtwebchannel',
'qtdeclarative', 'qtlocation', 'opengl32sw', 'd3dcompiler_47']
'qtdeclarative', 'qtlocation', 'opengl32sw', 'd3dcompiler_47',
'qtserialport']
qt_dir = path.abspath('qt')
build_dir = path.abspath('build')