Split QML Project into Sub-directories

0

I have the following question:


I split a QML project into different sub-directories.

When doing build , the IDE can not find the deployed files , returning the following error:

Starting /Users/macbook/workspace/build-UI_UX_Framework-          Desktop_Qt_5_7_0_clang_64bit-    Debug/UI_UX_Framework.app/Contents/MacOS/UI_UX_Framework...
QML debugging is enabled. Only use this in a safe environment.
QQmlApplicationEngine failed to load component
qrc:/_files_qml/instantiationTest.qml:17 Button1 is not a type

/Users/macbook/workspace/build-UI_UX_Framework-  Desktop_Qt_5_7_0_clang_64bit-   Debug/UI_UX_Framework.app/Contents/MacOS/UI_UX_Framework exited with code 0


I tried changing options in the .Framework.pro file , but I could not resolve the issue. thanks for the feedback Here is an image of the project.

link

    
asked by anonymous 26.10.2016 / 14:47

1 answer

0

I forgot to include the files in their sub-directories. was something like this:

import QtQuick 2.0 
import QtQuick.Window 2.0 
import "_Buttons/" 
import "_MIDIKeyboards/" 
import "_StochasticSelectors/" 
import "_Sliders/" 
import "_imgButtons/" 
    
27.10.2016 / 13:22