Qt Installer Framework - Cant import external file to existing *.qs
-
I want take out function writen in *.qs file outside in other *.qs file. But i attempt import this external lib file with
import * as Lib from 'lib.qs'and other diffent ways, but binarycreator.exe giving me "*Caught exception: Exception while loading component script at "packages\Business_logic\meta\installscript.qs": SyntaxError: Expected token `}' on line number: **".
Is it even possible to import external file into qt installer framework? -
I want take out function writen in *.qs file outside in other *.qs file. But i attempt import this external lib file with
import * as Lib from 'lib.qs'and other diffent ways, but binarycreator.exe giving me "*Caught exception: Exception while loading component script at "packages\Business_logic\meta\installscript.qs": SyntaxError: Expected token `}' on line number: **".
Is it even possible to import external file into qt installer framework?Hi @Mikhail-Rubezh,
Unfortunately import statements aren't currently supported in the controller and install scripts: https://bugreports.qt.io/browse/QTIFW-2491.
-
Thank you for your answer🙏