Using Metronic 5 libraries to Qt.



  • I am trying to load Metronic's bundled libraries called vendors.bundle.js and scripts.bundle.js to Qt webview html like this.

    <head>
            <script src="qrc:///js/resources/js/vendors.bundle.js" type="text/javascript"></script>
    	<script src="qrc:///js/resources/js/scripts.bundle.js" type="text/javascript"></script>
    </head>
    

    This is the content of my qrc:

    <RCC>
        <qresource prefix="/js">
            <file>resources/js/scripts.bundle.js</file>
            <file>resources/js/vendors.bundle.js</file>
        </qresource>
    </RCC>
    

    However, I got errors like these:

    Failed to load resource: Error opening :/resources/js/vendors.bundle.js: No such file or directory
    Failed to load resource: Error opening :/resources/js/scripts.bundle.js: No such file or directory

    Can anybody help me with this? Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.