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. Shortcut of Qt application.exe
Forum Updated to NodeBB v4.3 + New Features

Shortcut of Qt application.exe

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 3.2k 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
    Ketan Shah
    wrote on last edited by
    #1

    Hii, can any 1 help me, how can I make shortcut.exe of my Qt application..please help.

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      This is operating system related.

      Are you on windows?

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Ketan Shah
        wrote on last edited by
        #3

        yes....on windows...i also created a batch file for doing the same....but still no help from it....
        I also wrote this code...
        p->start("command.com", QStringList() << "/c" <<"\n" << "E:/qtpro/Abc/ext.bat");

        1 Reply Last reply
        0
        • EddyE Offline
          EddyE Offline
          Eddy
          wrote on last edited by
          #4

          Does your program start up when you double click on it?(i suppose you didn't set your settings to single click...)

          The normal approach is to right mouse button click on it and to choose for shortcut...

          Qt Certified Specialist
          www.edalsolutions.be

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Ketan Shah
            wrote on last edited by
            #5

            Sorry, I didnt get you....
            On double clicking the ext.bat file, creates the shortcut.exe of my application, but when I try to execute it from my code nothing happens..

            1 Reply Last reply
            0
            • EddyE Offline
              EddyE Offline
              Eddy
              wrote on last edited by
              #6

              Ok, it was not clear to me you wanted to start the exe from code.

              In that case you need QProcess.

              There is a similar thread that explains it :
              "Link":http://developer.qt.nokia.com/forums/viewthread/6145/

              Qt Certified Specialist
              www.edalsolutions.be

              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