qrc://scrollbar.qml:-1 No file name specified
-
wrote on 24 Feb 2017, 09:21 last edited by
I have old project, now I tried to update it to Qt 5.8 and QtQuick.Controls 2.1, but I got error
qrc://scrollbar.qml:-1 No file name specified
this error is produced by code :
import QtQuick 2.7 import QtQuick.Controls 2.1 import QtQuick.Layouts 1.1 Flickable{ id:flickable anchors.fill: parent ScrollBar.vertical: ScrollBar { } }
I'm running this code on Android phone. What is wrong here ?
-
wrote on 24 Feb 2017, 09:43 last edited by
Problem solved. I forgot that I have the ScrollBar.qml as custom scrollbar already. So, just renaming it solves the problem.
-
I have old project, now I tried to update it to Qt 5.8 and QtQuick.Controls 2.1, but I got error
qrc://scrollbar.qml:-1 No file name specified
this error is produced by code :
import QtQuick 2.7 import QtQuick.Controls 2.1 import QtQuick.Layouts 1.1 Flickable{ id:flickable anchors.fill: parent ScrollBar.vertical: ScrollBar { } }
I'm running this code on Android phone. What is wrong here ?
-
wrote on 24 Feb 2017, 09:34 last edited by
I'm using existing project, just changed header of QML file and added Scrollbar
-
wrote on 24 Feb 2017, 09:43 last edited by
Problem solved. I forgot that I have the ScrollBar.qml as custom scrollbar already. So, just renaming it solves the problem.
1/4