Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 6.5 FTP access (with SCXML); Permissions on Windows needed?
QtWS25 Last Chance

Qt 6.5 FTP access (with SCXML); Permissions on Windows needed?

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 175 Views
  • 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.
  • S Offline
    S Offline
    sidthatsme
    wrote on last edited by
    #1

    I understand that Qt 6 doesn't support FTP directly. But I have managed to use the SCXML module to access my FTP site. I am able to download files successfully.

    My issue arises when I try to run my Qt App outside the Qt environment (Outside Qt Creator). When I try to run the App(.exe) in the release folder, it runs fine. But when I try to access the FTP function within the App, the App crashes.

    It seems like my app is missing permissions introduced by Qt 6.5.

    I looked at the Available Permissions in Qt 6.5 and there are the following permissions but none to do with Internet/FTP permissions:

    • QBluetoothPermission
    • QCalendarPermission
    • QContactsPermission
    • QCameraPermission
    • QMicrophonePermission
    • QLocationPermission

    Permission APIs in Qt 6.5 talks about permissions but not for Windows.

    How does one manage permissions with Windows with Qt 6.5?

    jsulmJ 1 Reply Last reply
    0
    • S sidthatsme

      I understand that Qt 6 doesn't support FTP directly. But I have managed to use the SCXML module to access my FTP site. I am able to download files successfully.

      My issue arises when I try to run my Qt App outside the Qt environment (Outside Qt Creator). When I try to run the App(.exe) in the release folder, it runs fine. But when I try to access the FTP function within the App, the App crashes.

      It seems like my app is missing permissions introduced by Qt 6.5.

      I looked at the Available Permissions in Qt 6.5 and there are the following permissions but none to do with Internet/FTP permissions:

      • QBluetoothPermission
      • QCalendarPermission
      • QContactsPermission
      • QCameraPermission
      • QMicrophonePermission
      • QLocationPermission

      Permission APIs in Qt 6.5 talks about permissions but not for Windows.

      How does one manage permissions with Windows with Qt 6.5?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @sidthatsme I don't think you need to request any permissions on Windows.
      If your app is crashing then you should debug it. At least start it from a terminal to see whether there are any error messages printed. You can also inspect Windows event log (in mmc.exe) after the crash.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • jsulmJ jsulm

        @sidthatsme I don't think you need to request any permissions on Windows.
        If your app is crashing then you should debug it. At least start it from a terminal to see whether there are any error messages printed. You can also inspect Windows event log (in mmc.exe) after the crash.

        S Offline
        S Offline
        sidthatsme
        wrote on last edited by
        #3

        @jsulm Thanks for the advice!

        I found the solution in this forum: https://forum.qt.io/topic/134540/warning-ecmascriptdatamodel-plugin-not-found-after-deployment

        I was missing dlls which the windeployqt didn't add automatically.

        I'll mark this as solved

        1 Reply Last reply
        2
        • S sidthatsme has marked this topic as solved on

        • Login

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