![]() |
make[2]: *** No rule to make target `..\..\src\qtservice.h', needed by `main.o'. Stop.
2 Attachment(s)
I'm trying to use the QtService solution to make a daemon.. http://qt.nokia.com/products/appdev/...ies/qtservice/
My QtCreator+MADDE is set up and the project (ABC) that uses QtService has build settings targets for 4.6.2 MADDE/Windows and 4.5.3 Maemo Device QtService (and also the ABC project that uses it) builds just fine when targeting windows madde: Code:
Running build steps for project Desktop... Code:
Running build steps for project Maemo Device... THanks |
Re: make[2]: *** No rule to make target `..\..\src\qtservice.h', needed by `main.o'. Stop.
The output is saying that the file ../../src/qtservice.h is a dependency of main.o. The error stating that there is no rule to make target ../../src/qtservice.h, which implies that the file doesn't exist.
Did you do a clean make before you tried to target the N900? |
Re: make[2]: *** No rule to make target `..\..\src\qtservice.h', needed by `main.o'. Stop.
Well, I struggled a LOT with this, eventually moving the project folder to a place within my project's hierarchy:
Before: C:\qt\proj\myproj C:\qt\proj\qtservice-2.6_1-opensource After: C:\qt\proj\myproj C:\qt\proj\myproj\qtservice-2.6_1-opensource I changed the include() in myproj.pro to use an absolute path rather than a relative one, and I manually cleaned the entire source tree, removing .o and .moc files myself because it seems they were littered all over the place I also wrote a .net version of the DEL command, because qmake kept making makefiles that contains "del" as the delete command, but "del" is built into CMD.exe (the dos "shell") and so should be run CMD /C DEL So "clean"s were never actually cleaning anything because all it would do is say "del: command not found" Ahh.. Progress is so frustratingly slow! Doing the manual clean at least solved the "this moc is built with 4.5.3 and youre using 4.6.2" problem.. while I wait patiently for the dev teams to make 4.6.2 work with QtCreator 1.3.81 (you can download the libs, but the mkspecs folder contains some erroroneous files, so you cant use the 4.6.2 libs to make maemo binaries, for pushing to the device within Qt) |
All times are GMT. The time now is 04:18. |
vBulletin® Version 3.8.8