qt git problem, QObject: no such file or directory.
Hi all,
Sorry if someone thinks, this topic should be somewhere else. However, this is a linux application. Nevertheless issue concerns both linux and windows. I have a strange problem on my computer. I am using qt 4.7 on linux (ubuntu lucid) and windows (XP, 7). I wrote some project, that works fine in Linux and commited it on a remote server. Then I switched to Windows and dowloaded the repository. All works fine (compilation and execution), unless I change anything in any file. I mean, when I change (add or remove some space, character, comment a line, whatever) a file, and try to compile for the second time, I get an error: "error: QObject: No such file or directory " In git (tortoise) I have a settings so that appropariate new lines are taken for each OS. Has anyone of You had similar issues, or someone has idea how to fix it. I need it really badly. It could be due to encoding, however qtcreator has possibility to choose between text-encoding styles, however after playing around , I managed to get nothing. Will appreciate any help, Kryzsytof Wielgo Thank You for any help, all the best. |
Additional notes
When everything is fine (no changes have been done), I get g++ with following parameters
Code:
mingw32-make[1]: Entering directory `C:/repo/SomeClass' Code:
mingw32-make[1]: Entering directory `C:/repo/SomeClass' Anyone knows why compiler omits these information, please? Thank You. |
Quote:
|
Quote:
But this is cumbersome, I would have to insert nl everytime changes to File class are done. So the easiest way is to change #include <File> into #include <MyFile> and a file accordingly. Thank You very much. I really ate my teeth on it and bdaly needed a help. Regards, Krzysztof Wielgo. |
All times are GMT -5. The time now is 06:57 PM. |