QT projects trouble with VC++2005

shift at cmpd2.phys.msu.su shift at cmpd2.phys.msu.su
Thu Jan 31 00:25:52 CET 2008


I tried to use KDE_win installation of QT to build my project with  
Visual C++ 2005, and had some troubles.

I used kde-win-installer v0.8.5 to install QT libs to D:\KDE, and then  
created run "qmake" and "nmake" -- and it did not generate moc_ files.
i fixed the problem by manually rewriting the D:\KDE\bin\qt.conf, and  
for every option i specified the full path.
for example:

--- cut: ---
[Paths]
Prefix=D:\\KDE\\
Documentation=D:\\KDE\\doc
Headers=D:\\KDE\\include
Libraries=D:\\KDE\\lib
Binaries=D:\\KDE\\bin
Plugins=D:\\KDE\\plugins
Data=D:\\KDE\\
Translations=D:\\KDE\\translations
Settings=D:\\KDE\\etc
Examples=D:\\KDE\\examples
Demos=D:\\KDE\\demos
-- cut ---

only then the moc_ files started to appear after "nmake"

PS: see my blog:  
http://svshift.blogspot.com/2008/01/visual-c-2005-project-using-qt-and.html   
for instruction on how to use KDE-windows version of QT with VS,  
especially how to make Intellisence work. might be usefull for somebody.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Kde-windows mailing list