Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Installer Framework - Cant import external file to existing *.qs
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework - Cant import external file to existing *.qs

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 455 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikhail Rubezh
    wrote on last edited by
    #1

    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?

    A 1 Reply Last reply
    0
    • M Mikhail Rubezh

      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?

      A Offline
      A Offline
      artarkia
      wrote on last edited by
      #2

      Hi @Mikhail-Rubezh,

      Unfortunately import statements aren't currently supported in the controller and install scripts: https://bugreports.qt.io/browse/QTIFW-2491.

      1 Reply Last reply
      2
      • M Offline
        M Offline
        Mikhail Rubezh
        wrote on last edited by
        #3

        Thank you for your answer🙏

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved