QtQuick Controls in SwipeView
-
I want to use QtQuick Controls and QtQuick Layouts in a SwipeView with two pages. I include
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.2
in main.qml, Page1Form.ui.qml and Page2Form.ui.qml. When I open the ui.qml:s in design mode all the imports appear under the Library/Import tab. Under the Library/QML Types tab the Qt Quick Layouts appear, but there are no Qt Quick Controls. What do I do wrong?
Using Qt 5.8 on OS X 10. -
I want to use QtQuick Controls and QtQuick Layouts in a SwipeView with two pages. I include
import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.2
in main.qml, Page1Form.ui.qml and Page2Form.ui.qml. When I open the ui.qml:s in design mode all the imports appear under the Library/Import tab. Under the Library/QML Types tab the Qt Quick Layouts appear, but there are no Qt Quick Controls. What do I do wrong?
Using Qt 5.8 on OS X 10. -
@PA-F Have you tried Controls 2 example projects? Or created a new Controls 2 skeleton project with the wizard? What happens with them?
-
@Eeli-K I made a Controls 2 project with the wizard (which uses Controls 2.0 and Layouts 1.0). Same problem there.