Results 1 to 3 of 3

Thread: create a start button that launches my main.cpp

  1. #1
    Join Date
    Dec 2015
    Posts
    4
    Qt products
    Qt3
    Platforms
    MacOS X

    Default create a start button that launches my main.cpp

    hello guys, how can i create a start button that launches my main.cpp when pressed, and if it's pressed again, it resets everything and launches again.

    any idea?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: create a start button that launches my main.cpp

    Well, which part of that do you have a problem with?

    Cheers,
    _

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: create a start button that launches my main.cpp

    Are we talking two completely separate programs, one started by the other, or one program where a UI is "launched" and "relaunched"?

Similar Threads

  1. QT program start without proper main window
    By s_eye in forum Qt Programming
    Replies: 6
    Last Post: 2nd July 2014, 13:06
  2. Replies: 0
    Last Post: 20th June 2014, 18:57
  3. Qt Creator QT Creator doesn`t create main.moc.
    By malootki in forum Qt Tools
    Replies: 10
    Last Post: 13th September 2010, 00:03
  4. Start program with right button
    By Pablo128 in forum Qt Programming
    Replies: 1
    Last Post: 29th August 2010, 13:03
  5. cmd launches before Qt app
    By THRESHE in forum Newbie
    Replies: 2
    Last Post: 9th March 2007, 14:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.