I created a new project that contains just interface class and implementation class. The project compiled fine. Then i checked compile outputs of working and failing versions.
There was a significant difference in moc.exe command
working wersion didn't have a parameter "@debug/mocinclude.tmp"
Before this thread i googled for "undefined interface" and some results sugested that i shoud remove mocinclude.tmp, and i did that, but without success, it is recreated with same error.
What is this file, how to avoid creating it? Linux version also executes moc command without "@debug/mocinclude.tmp" parameter.
Anyone familiar with this?
@amleto: is example stil needed?
How do i edit moc parameters?
I created a new project that contains just interface class and implementation class. The project compiled fine. Then i checked compile outputs of working and failing versions.
There was a significant difference in moc.exe command
working wersion didn't have a parameter "@debug/mocinclude.tmp"
Before this thread i googled for "undefined interface" and some results sugested that i shoud remove mocinclude.tmp, and i did that, but without success, it is recreated with same error.
What is this file, how to avoid creating it? Linux version also executes moc command without "@debug/mocinclude.tmp" parameter.
Anyone familiar with this?
@amleto: is example stil needed?
How do i edit moc parameters?
Added after 37 minutes:
DAMN!!!
I Lost two days over this stupidity.
I hope this thread saves someone else's time
searching for info about mocinclude i found it in Makefile.Debug
and there i noticed that moc is generated like this
debug/mocinclude.tmp:
...
@echo -IC:/Documents>> debug/mocinclude.tmp
@echo -Iand>> debug/mocinclude.tmp
@echo -ISettings/Administrator/Desktop/myProject/trunk/Core>> debug/mocinclude.tmp
...
debug/mocinclude.tmp:
...
@echo -IC:/Documents>> debug/mocinclude.tmp
@echo -Iand>> debug/mocinclude.tmp
@echo -ISettings/Administrator/Desktop/myProject/trunk/Core>> debug/mocinclude.tmp
...
To copy to clipboard, switch view to plain text mode
it split "Documents and settings" into 3 includes
after moving project to c:\ everything compiled fine.
The strangest thing is that the new test project is also on desktop and no errors
Bookmarks