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. Unable to resize an exe opened by QDesktopSerivces
Forum Updated to NodeBB v4.3 + New Features

Unable to resize an exe opened by QDesktopSerivces

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 148 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
    Kapil_Kumar
    wrote on last edited by
    #1

    Hi everyone, I am trying to open a .exe file using QDesktop services and I am calling the following function from QML ( After registering the cpp class, so that I can access it in QML)

    my cpp file
    cd805c95-03dc-4c8b-9a44-da8a422dac78-image.png

    my qml file
    8317691e-dcc2-41ea-bd15-c1af723bc83a-image.png

    The issue is the application is being opened but not inside the rectangle (parent element).
    Can anybody help me get out of this

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You have no control over whatever is started to open the file you asked to open.

      Since you are opening a video file, why not use the QtMultimedia module ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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