Problem using custom components on Windows



  • I'm working with an application that uses PySide and QML. I develop on Linux, but for testing purposes I just tried started trying to run my application on Windows as well. However, when I try, the application can't seem to find any of the custom components I've defined (I get an error message saying "foo is not a type"). These are QML files in the same directory as the root element, and on Linux everything works fine. Is there a trick to getting it to work on Windows too? Do I need to specifically set a path or define a qmldir file or something?



  • Are you launching qmlviwer (or your application) from the root element directory?

    O got some problems in windows when i run a application form other place that not is it's 'root'.


Log in to reply
 

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