PDA

View Full Version : Copy a Qt project to another directory



QtFan19
28th December 2009, 21:43
Hi all,

I would like to copy a Qt project (hellogl for example) to another directory after compilation. Which files (*.cpp, *.h, ...) and subdirectories (\release, ...?) do I need and which have to be deleted?

Greetings,

Michael

Lycus HackerEmo
28th December 2009, 22:10
files that are not necessary are:

*.pro.user
*.o
Makefile
moc_****.cpp

squidge
28th December 2009, 22:11
run 'make clean' and copy the result.

faldzip
28th December 2009, 23:54
run 'make clean' and copy the result.

or rather 'make distclean'.

But I would say that all you need is a .pro file and files listed in this .pro file (in HEADERS, SOURCES, FORMS, RESOURCES, ...)

QtFan19
29th December 2009, 07:38
Hi all,

thank you very much for your fast replies :) .

I´m a beginner in C++ and Qt. So I have to ask how can I run make under Windows XP (SP3)?

I´ve tried it under Start->Qt->Qt Command Prompt, but the system does not find make or make clean (qmake runs). What do I have to do?

Greetings,

Michael

spirit
29th December 2009, 08:02
I´m a beginner in C++ and Qt.

then put your questions in Newbie sub-forum.

QtFan19
30th December 2009, 08:22
@ Faldzip


But I would say that all you need is a .pro file and files listed in this .pro file

I´ve tried this and it works.

Thanks,

Michael