
Originally Posted by
Seth
since I ran qmake -project from its original folder I may have destroyed the original.
1) Is there another copy somewhere else?
Yes, in a source archive available from for example www.trolltech.com
Download the zip and replace the example files.
The top level project file looks as follows:
TEMPLATE = subdirs
SUBDIRS = application \
dockwidgets \
mdi \
menus \
recentfiles \
sdi
# install
target.path = $$[QT_INSTALL_EXAMPLES]/mainwindows
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mainwindows.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/mainwindows
INSTALLS += target sources
TEMPLATE = subdirs
SUBDIRS = application \
dockwidgets \
mdi \
menus \
recentfiles \
sdi
# install
target.path = $$[QT_INSTALL_EXAMPLES]/mainwindows
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS mainwindows.pro README
sources.path = $$[QT_INSTALL_EXAMPLES]/mainwindows
INSTALLS += target sources
To copy to clipboard, switch view to plain text mode
If you didn't ruin project files in subdirectories, this is all you need.
Bookmarks