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. Imported JavaScript files are not "clickable" anymore in QtCreator when importing with "qrc:/"
Forum Updated to NodeBB v4.3 + New Features

Imported JavaScript files are not "clickable" anymore in QtCreator when importing with "qrc:/"

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 398 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.
  • S Offline
    S Offline
    sk2212
    wrote on last edited by
    #1

    Hello,

    imported JavaScript files are not "clickable" anymore in QtCreator when importing with

    import "qrc:/javascript/js/test.js" as TEST
    

    In my "qml.qrc" I have added a prefix called "javascript" and insert all JavaScript files there for a better structure.

    If I push the files to "qml.qrc" without a prefix I can import them with

    import "js/test.js" as TEST
    

    and they are clickable.

    The code which uses the import states is running fine but the seems that QtCreator is broken.

    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