Results 1 to 3 of 3

Thread: see the source of writen app

  1. #1
    Join Date
    Aug 2014
    Posts
    28
    Thanks
    15
    Qt products
    Qt5
    Platforms
    Windows

    Unhappy see the source of writen app

    hi all,
    ok let say i have write an app and accidently delete source code!(still having complete app)
    now i need source of my app i go to directory if my app but doesnt see any source only:
    main.o
    mainwindow.o
    moc_mainwindow.cpp
    moc_mainwindow.o

    my Qt is Community version ( Open source projects compliant with GPL, LGPL v2.1, LGPL v3**).
    i will be grateful to help me..

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

    Default Re: see the source of writen app

    This is not a programming question.
    If you delete files, you might be able to undelete them using some system tool or restore a backup.

    Cheers,
    _

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

    Default Re: see the source of writen app

    If you are using MingW (looks like it) and the program was a debug build and it was built using the -g option and the resulting files were not stripped then you might be able able to get something like source out. It will not be exactly what the program was built from but nobody said reverse engineering programs was easy.

    http://stackoverflow.com/questions/5...ugging-symbols

    For a one file wonder program you are probably better off retyping from memory.
    Backups and a source code control system are an easier option
    http://stackoverflow.com/questions/5...ugging-symbols

Similar Threads

  1. Replies: 0
    Last Post: 26th November 2012, 13:18
  2. How to run a program writen by SDL using Qt.
    By pren in forum Qt for Embedded and Mobile
    Replies: 6
    Last Post: 25th November 2010, 16:00
  3. Looking for the Mac source for Qt....
    By mwheinz in forum Qt Programming
    Replies: 2
    Last Post: 14th September 2009, 12:13
  4. Qt source
    By apulu in forum Installation and Deployment
    Replies: 11
    Last Post: 11th June 2008, 06:07
  5. Replies: 11
    Last Post: 24th March 2006, 06:40

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.