1. QMAKESPEC

This' not a solution,but it may fake to solve when few platforms to be build.

For confidence of the portability of my program and possible market condition,I compile and test run my application on these platforms(all on Linux OS):
1) amd64 - Qt X11
2) x86 - Qtopia Core
3) x86 - QPE
4) arm - Qtopia Core
5) arm - QPE

mkspecs can differentiate between CPU,OS,compiler,but it has no way to know if this is a Qtopia Core/QPE compile,and as my build for Qtopia Core has few features and files than for QPE,it seems that there's no way to differentiate by the project file alone,there must be some other means.

2. different .pro for qmake/qtopiamake

as many .pro is just subdirs,and when it recurse down the tree,qmake and qtopiamake both use the directory.pro custom to find the .pro file to be used,am I right?how can I tell qmake/qtopiamake to use different .pro in this situation?