PDA

View Full Version : Unable to install QCA



viv_asp
5th January 2010, 10:25
Hi,

I have to develop a digital signature application on Qt. For that I tried to install QCA but I got the error "g++: conf4.cpp: No such file or directory". These are the steps that I used to install QCA.

1. Run the exe and installed QT 4.5 using qt-sdk-win-opensource-2009.04.

2. Set the following environment paths:
QTDIR=D:\Qt\2009.04\qt
QTMAKESPEC=D:\Qt\2009.04\qt\mkspecs\win32-g++
path= D:\Qt\2009.04\qt\bin;D:\Qt\2009.04\mingw\bin

3. downloaded QCA 2.0.2 from url "http://delta.affinix.com/download/qca/2.0/"

4. Now on executing the configure command from QCA directory is throwing the following error:
Configuring Qt Cryptographic Architecture (QCA) ...
Verifying Qt 4 build environment ... fail

Reason: There was an error compiling 'conf'. See conf.log for details.

Be sure you have a proper Qt 4.0 build environment set up. This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if %QTDIR% is pointing to a Qt 3
installation). At least one of the following conditions must be satisfied:

1) --qtdir is set to the location of Qt
2) %QTDIR% is set to the location of Qt

This program will use the first one it finds to be true, checked in the above
order.

Generated conf.log file is showing the message:

D:/Qt/2009.04/qt/bin\moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_MODULES -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"d:\Qt\2009.04\qt\include\QtCore" -I"d:\Qt\2009.04\qt\include" -I"d:\Qt\2009.04\qt\include\ActiveQt" -I"debug" -I"d:\Qt\2009.04\qt\mkspecs\win32-g++" -D__GNUC__ -DWIN32 conf4.cpp -o debug\conf4.moc
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_MODULES -DQT_DLL -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"d:\Qt\2009.04\qt\include\QtCore" -I"d:\Qt\2009.04\qt\include" -I"d:\Qt\2009.04\qt\include\ActiveQt" -I"debug" -I"d:\Qt\2009.04\qt\mkspecs\win32-g++" -o debug\conf4.o conf4.cpp
g++: conf4.cpp: No such file or directory

RS
20th October 2010, 10:33
Hey.. Did you find any solution for this problem? I'm facing the same issue now. Can someone help?

blackdairui
30th January 2011, 07:28
I have the same problem. :confused: