Thanks, Lykurg for your fast reply! I did understand the part on macx and win32 platform specific codes.
But, what I mean is that how can I separate the C++ classes under single win32 platform?
e.g.
SimpleBuild (contains ClassA only)
AdvancedBuild (contains ClassA, ClassB, and ClassC)
I need to do different *pro file that uses different custom configuration to add files.
Qt Code:
win32:DEFINES += WIN32_ADVANCED win32:CONFIG += win32_Advanced SUBDIRS += simple_build.proTo copy to clipboard, switch view to plain text mode
Under SUBDIRS there are WIN32_ADVANCED flags to check whether the class is needed or not.
Then, under a controller class, there is a #ifdef win32_Advanced flag to include its header.
Hope this clarify my query.




Reply With Quote

Bookmarks