On Dec 14, 2012 8:39 PM, "Witold E Wolski" <[email protected]> wrote: > > Hi Mandeep, > > this sounds like what I need, but having CMakeLists.txt file I do not have pro file (or do I?).
I don't think you'll have a pro file if u're using cmake. Though what the cmake equivalent of MOC_DIR is, I'm afraid I don't know (cmake is not my forte). Maybe u can look at the qmake generated makefile to see how to get similar rule from cmake. Sorry if this is not much help. -mandeep > > cheers > > > > On 13 December 2012 06:54, Mandeep Sandhu <[email protected]> wrote: >> >> > Now I am wondering what to do with headers which contain QT macros from >> > which moc will generate cpps. >> >> You can instruct qmake to put the generated moc files in a specific >> dir (in your case, the 'src' dir) by specifying it in MOC_DIR in your >> pro file. >> >> HTH, >> -mandeep >> >> >> > Would it be possible to tell moc to move these file into the src branch ( I >> > am using cmake QT4_WRAP_CPP) macro. >> > >> > Or would you recommend a different of structuring the sources. >> > >> > >> > regards >> > Witold >> > >> > >> > >> > >> > -- >> > Witold Eryk Wolski >> > >> > Triemlistrasse 155 >> > 8047 Zuerich >> > >> > _______________________________________________ >> > Interest mailing list >> > [email protected] >> > http://lists.qt-project.org/mailman/listinfo/interest >> > > > > > > -- > Witold Eryk Wolski > > Triemlistrasse 155 > 8047 Zuerich
_______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
