Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem using custom components on Windows
mjjohnson last edited by
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?
wagner.reck last edited by
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'.