PDA

View Full Version : cannot find -lqca


Drexxx
10-06-2011, 12:43 AM
Hello everyone.
Firstly, please, sorry about my poor English.

I'm trying to compile a program with Qt Creator.
This program is Little Hash Calculator (LHC), and version 0.1 is available in extras-devel.
However, I added new features that require QCA library, in version 0.5, and here is my problem.
If I compile for Desktop or Simulator, lhc works as expected.
If I use Madde (4.7.0) I can create tar.gz and deb files, and the program works properly on my N900.
But if I compile using QtCreator (4.7.4) it gives me the following error:
/home/me/QtSDK/Maemo/4.6.2/toolchains/arm-2007q3-51sb6-gdb71-arm-none-linux-gnueabi_linux_x86_64/bin/../lib/gcc/arm-none-linux-gnueabi/4.2.1/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lqca

I tried to upload the files generated with Madde to the repositories using extra-assistant, but it returns the same error. (https://garage.maemo.org/builder/fremantle/lhc_0.5-1/armel.build.log.FAILED.txt)

Here is my lhc.pro file (http://pastebin.com/kqPrKrC4)
I compiled QCA for Maemo and x86, and I separated libraries as you can see in the pro file.

How could I do to avoid this problem?
What am I doing wrong?

Thank you very much!