View Full Version : Howto test classes laying in a project with template = app?
70thCommander
7th March 2011, 12:18
Hello Community,
I want to test a class in a test project which is laying in a project with ".pro" file
TEMPLATE = app
How can I test those classes?
wysota
7th March 2011, 12:21
Write a test program and add the file to your test project.
70thCommander
7th March 2011, 12:22
How can I reference those project if the result is an exe file?
(Sorry, want to reply on your answer!)
wysota
7th March 2011, 12:48
You reference files, not projects.
SOURCES += relative/path/to/directory/name-of-file.cpp
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.