Set the Qt version to use on fedora.
The default Qt version on fedora is Qt 4. We must force the use of Qt 5.
This commit is contained in:
parent
da62250d83
commit
ef7843633e
|
@ -1,12 +1,18 @@
|
|||
from .base import PlatformInfo
|
||||
|
||||
from kiwixbuild.utils import pj
|
||||
from kiwixbuild._global import option
|
||||
from kiwixbuild._global import option, neutralEnv
|
||||
|
||||
|
||||
class NativePlatformInfo(PlatformInfo):
|
||||
build = 'native'
|
||||
|
||||
def get_env(self):
|
||||
env = super().get_env()
|
||||
if neutralEnv('distname') == 'fedora':
|
||||
env['QT_SELECT'] = "5-64"
|
||||
return env
|
||||
|
||||
|
||||
class NativeDyn(NativePlatformInfo):
|
||||
name = 'native_dyn'
|
||||
|
|
Loading…
Reference in New Issue