Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to force QML to use direct paths?

How to force QML to use direct paths?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 749 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kofr
    wrote on last edited by
    #1
    SwipeView {
            anchors.top: header1.bottom
            anchors.bottom: appWindow.bottom
            anchors.left: appWindow.left
            anchors.right: appWindow.right
    
            //        readonly property url path:
            //            ["C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SocketPage.qml",
            //            "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SchedulePage.qml",
            //            "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\TimerPage.qml",
            //            "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\ModesPage.qml"]
    
    
            model: model1
        }
    
        ListModel {
            id: model1
            ListElement {
                title: qsTr("Socket")
                preload: true
                source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SocketPage.qml"
            }
            ListElement {
                title: qsTr("Schedule")
                source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SchedulePage.qml"
            }
            ListElement {
                title: qsTr("Timer")
                source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\TimerPage.qml"
            }
            ListElement {
                title: qsTr("Modes")
                source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\ModesPage.qml"
            }
        }
    

    direct paths in soure property makes QML nuts
    qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated c:dev%0D4sR4S_SimqmlUIRSPPagesSocketPage.qml: Network error c:dev%0D4sR4S_SimqmlUIRSPPagesSchedulePage.qml: Network error c:dev%0D4sR4S_SimqmlUIRSPPagesTimerPage.qml: Network error c:dev%0D4sR4S_SimqmlUIRSPPagesModesPage.qml: Network error

    p3c0P 1 Reply Last reply
    0
    • K Kofr
      SwipeView {
              anchors.top: header1.bottom
              anchors.bottom: appWindow.bottom
              anchors.left: appWindow.left
              anchors.right: appWindow.right
      
              //        readonly property url path:
              //            ["C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SocketPage.qml",
              //            "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SchedulePage.qml",
              //            "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\TimerPage.qml",
              //            "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\ModesPage.qml"]
      
      
              model: model1
          }
      
          ListModel {
              id: model1
              ListElement {
                  title: qsTr("Socket")
                  preload: true
                  source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SocketPage.qml"
              }
              ListElement {
                  title: qsTr("Schedule")
                  source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\SchedulePage.qml"
              }
              ListElement {
                  title: qsTr("Timer")
                  source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\TimerPage.qml"
              }
              ListElement {
                  title: qsTr("Modes")
                  source: "C:\dev\r4s\R4S_Sim\qml\UI\RSP\Pages\ModesPage.qml"
              }
          }
      

      direct paths in soure property makes QML nuts
      qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_client_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_1_server_method qt.network.ssl: QSslSocket: cannot resolve TLSv1_2_server_method qt.network.ssl: QSslSocket: cannot resolve SSL_select_next_proto qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_next_proto_select_cb qt.network.ssl: QSslSocket: cannot resolve SSL_get0_next_proto_negotiated c:dev%0D4sR4S_SimqmlUIRSPPagesSocketPage.qml: Network error c:dev%0D4sR4S_SimqmlUIRSPPagesSchedulePage.qml: Network error c:dev%0D4sR4S_SimqmlUIRSPPagesTimerPage.qml: Network error c:dev%0D4sR4S_SimqmlUIRSPPagesModesPage.qml: Network error

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Kofr The paths should begin with file://.

      157

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved