Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Importing a *.JavaScript file in Release mode gives ERROR!
Forum Updated to NodeBB v4.3 + New Features

Importing a *.JavaScript file in Release mode gives ERROR!

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 220 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.
  • Sadeq AlS Offline
    Sadeq AlS Offline
    Sadeq Al
    wrote on last edited by Sadeq Al
    #1

    Hi,

    I am importing a *.js file inside the *.qml in a project.
    To facilitate making the AppImage, I am working in Release mode, but now when I add the *.js, it gives me:

    error: Invalid import qualifier ID

    However, the *.qrc includes it inside as,
    <file>qml/file.js</file>

    What can I do?

    1 Reply Last reply
    0
    • fcarneyF Offline
      fcarneyF Offline
      fcarney
      wrote on last edited by
      #2

      Show us actual import statement.

      For example:

      import "dynamicobjects.js" as DynObjs
      

      C++ is a perfectly valid school of magic.

      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