|
List Info
Thread: QCA2 build problems under win32-msvc2008/Qt4.4
|
|
| QCA2 build problems under
win32-msvc2008/Qt4.4 |

|
2008-03-16 14:30:19 |
Hi,
I'm struggling to build a copy of QCA2 with the openssl
plugin under
the latest version of visual studio, and the Qt 4.4
pre-release code.
I've got a successful build working under linux so far, but
the
windows one is causing me trouble. Following the
instructions in the
respective INSTALL files, I've got both qca-2.0.0 and
qca-ossl-2.0.0-beta3 build successfully producing qcatool2
and the
qca-ossl2.dll files. I've moved them to the Qt directory.
qcatool shows no available providers, despite showing the
correct search paths.
I've single-stepped through the QPluginLoader source, and
its bailing
out while trying to find the
qt_plugin_query_verification_data symbol
and concludes the ossl dll is not a valid Qt plugin.
Is this a known issue or bug with QCA? Is building it in
this way
supported at all, or am I trying to do something that just
isn't
possible?
Any response would be greatly appreciated; if QCA can't be
made to
work I'll need to find an alternative asap.
Thanks,
Ben Roberts.
Electronics and Computer Science,
University of Southampton.
_______________________________________________
Delta mailing list
Delta lists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com
a>
|
|
| Re: QCA2 build problems under
win32-msvc2008/Qt4.4 |

|
2008-03-16 14:46:21 |
|
Are openssl9;s libeay32 and ssleay32 dll's findable in the current folder and/or path env? If they're not then the openssl qca plugin fails to load. This failure is generally cached in the registry too, so you need to clean that out for Qt to re-detect the openssl provider.
On Sun, Mar 16, 2008 at 9:30 PM, optimism_ < optiz0r  gmail.com" >optiz0r gmail.com> wrote:
Hi,
I'm struggling to build a copy of QCA2 with the openssl plugin under
the latest version of visual studio, and the Qt 4.4 pre-release code.
I've got a successful build working under linux so far, but the
windows one is causing me trouble. Following the instructions in the
respective INSTALL files, I've got both qca-2.0.0 and
qca-ossl-2.0.0-beta3 build successfully producing qcatool2 and the
qca-ossl2.dll files. I've moved them to the Qt directory.
qcatool shows no available providers, despite showing the correct search paths.
I've single-stepped through the QPluginLoader source, and its bailing
out while trying to find the qt_plugin_query_verification_data symbol
and concludes the ossl dll is not a valid Qt plugin.
Is this a known issue or bug with QCA? Is building it in this way
supported at all, or am I trying to do something that just isn't
possible?
Any response would be greatly appreciated; if QCA can't be made to
work I'll need to find an alternative asap.
Thanks,
Ben Roberts.
Electronics and Computer Science,
University of Southampton.
_______________________________________________
Delta mailing list
Delta lists.affinix.com">Delta lists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com
-- - Norman Rasmussen - Email: norman rasmussen.co.za">norman rasmussen.co.za - Home page: http://norman.rasmussen.co.za/
|
| Re: QCA2 build problems under
win32-msvc2008/Qt4.4 |

|
2008-03-16 17:31:31 |
Fraid so, no joy.
My single stepping shows me touching the ossl dlls makes Qt
recheck
them, however they are still definitely failing to load.
Oh, and I added a brief mod to the qca source to print out
the
QPluginLoader errorString() along with the failed to load
message,
which is shown below.
C:Program FilesMicrosoft SDKsWindowsv6.1>echo %PATH%
C:Program FilesMicrosoft Visual Studio
9.0VCBin;C:Program FilesMicrosoft V
isual Studio 9.0VCvcpackages;C:Program FilesMicrosoft
Visual Studio 9.0Comm
on7IDE;C:Program FilesMicrosoft
SDKsWindowsv6.1Bin;C:WindowsMicrosoft.NE
TFrameworkv3.5;C:WindowsMicrosoft.NETFrameworkv2.0.507
27;c:bin;c:binbin
;c:binusrlocalwbin;C:Perlsitebin;C:Perlbin;C:Progr
am FilesMicrosoft D
irectX SDK (November
2007)UtilitiesBinx86;C:Windowssystem32;C:Windows;C:W
indowsSystem32Wbem;c:qt4.4.0-beta1bin;c:buildbin
C:Program FilesMicrosoft SDKsWindowsv6.1>ls
c:buildbin
libeay32.dll ssleay32.dll
C:Program FilesMicrosoft
SDKsWindowsv6.1>Qtqca-2.0.0binqcatool2.exe --de
bug plugins
Qt Library Paths:
C:/Qt/4.4.0-beta1/plugins
C:/Qt/qca-2.0.0/bin
plugin: checking in path: [C:/Qt/4.4.0-beta1/plugins]
plugin: checking file:
[C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossl2.dll]
plugin: PluginInstance fromFile
[C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossl2.dll]
plugin: failed to load: The file
'C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossl2.dll
' is not a valid Qt plugin.
plugin: checking file:
[C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossld2.dll]
plugin: PluginInstance fromFile
[C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossld2.dll
]
plugin: failed to load: The file
'C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossld2.dl
l' is not a valid Qt plugin.
plugin: checking in path: [C:/Qt/qca-2.0.0/bin]
Available Providers:
(none)
On 16/03/2008, Norman Rasmussen <norman rasmussen.co.za> wrote:
> Are openssl's libeay32 and ssleay32 dll's findable in
the current folder
> and/or path env?
> If they're not then the openssl qca plugin fails to
load.
> This failure is generally cached in the registry too,
so you need to clean
> that out for Qt to re-detect the openssl provider.
>
>
> On Sun, Mar 16, 2008 at 9:30 PM, optimism_
<optiz0r gmail.com> wrote:
> >
> > Hi,
> >
> > I'm struggling to build a copy of QCA2 with the
openssl plugin under
> > the latest version of visual studio, and the Qt
4.4 pre-release code.
> >
> > I've got a successful build working under linux so
far, but the
> > windows one is causing me trouble. Following the
instructions in the
> > respective INSTALL files, I've got both qca-2.0.0
and
> > qca-ossl-2.0.0-beta3 build successfully producing
qcatool2 and the
> > qca-ossl2.dll files. I've moved them to the Qt
directory.
> >
> > qcatool shows no available providers, despite
showing the correct search
> paths.
> >
> > I've single-stepped through the QPluginLoader
source, and its bailing
> > out while trying to find the
> qt_plugin_query_verification_data symbol
> > and concludes the ossl dll is not a valid Qt
plugin.
> >
> > Is this a known issue or bug with QCA? Is building
it in this way
> > supported at all, or am I trying to do something
that just isn't
> > possible?
> >
> > Any response would be greatly appreciated; if QCA
can't be made to
> > work I'll need to find an alternative asap.
> >
> > Thanks,
> >
> > Ben Roberts.
> > Electronics and Computer Science,
> > University of Southampton.
> > _______________________________________________
> > Delta mailing list
> > Delta lists.affinix.com
> > http://lists.affinix.com/listinfo.cgi/delta-affinix.com
a>
> >
>
>
>
> --
> - Norman Rasmussen
> - Email: norman rasmussen.co.za
> - Home page: http://norman.rasmusse
n.co.za/
> _______________________________________________
> Delta mailing list
> Delta lists.affinix.com
> http://lists.affinix.com/listinfo.cgi/delta-affinix.com
a>
>
>
_______________________________________________
Delta mailing list
Delta lists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com
a>
|
|
| Re: QCA2 build problems under
win32-msvc2008/Qt4.4 |

|
2008-03-17 03:24:42 |
|
Hrm, the latest I've tried to compile is 4.3.4. It is possible that Qt have broken the plugin loading on 4.4.0-beta1 I guess.
Double check that the functions are exported correctly with dumpbin perhaps?
> dumpbin /exports C:Qt4.4.0-beta1pluginscrypto*.dll | find /i "plugin" 1 0 000016C7 qt_plugin_instance = ILT+1730(_qt_plugin_instance) 2 1 000014F1 qt_plugin_query_verification_data = ILT+1260(_qt_plugin_query_verification_data)
1 0 000019FB qt_plugin_instance = ILT+2550(_qt_plugin_instance) 2 1 000016FE qt_plugin_query_verification_data = ILT+1785(_qt_plugin_query_verification_data)
is what is shown for my Qt 4.3.4 openssl + gnupg plugins.
On Mon, Mar 17, 2008 at 12:31 AM, optimism_ < optiz0r  gmail.com" >optiz0r gmail.com> wrote:
Fraid so, no joy.
My single stepping shows me touching the ossl dlls makes Qt recheck
them, however they are still definitely failing to load.
Oh, and I added a brief mod to the qca source to print out the
QPluginLoader errorString() along with the failed to load message,
which is shown below.
C:Program FilesMicrosoft SDKsWindowsv6.1>echo %PATH%
C:Program FilesMicrosoft Visual Studio 9.0VCBin;C:Program FilesMicrosoft V
isual Studio 9.0VCvcpackages;C:Program FilesMicrosoft Visual Studio 9.0Comm
on7IDE;C:Program FilesMicrosoft SDKsWindowsv6.1Bin;C:WindowsMicrosoft.NE
TFrameworkv3.5;C:WindowsMicrosoft.NETFrameworkv2.0.50727;c:bin;c:binbin
;c:binusrlocalwbin;C:Perlsitebin;C:Perlbin;C:Program FilesMicrosoft D
irectX SDK (November 2007)UtilitiesBinx86;C:Windowssystem32;C:Windows;C:W
indowsSystem32Wbem;c:qt4.4.0-beta1bin;c:buildbin
C:Program FilesMicrosoft SDKsWindowsv6.1>ls c:buildbin
libeay32.dll ssleay32.dll
C:Program FilesMicrosoft SDKsWindowsv6.1>Qtqca-2.0.0binqcatool2.exe --de
bug plugins
Qt Library Paths:
C:/Qt/4.4.0-beta1/plugins
C:/Qt/qca-2.0.0/bin
plugin: checking in path: [C:/Qt/4.4.0-beta1/plugins]
plugin: checking file: [C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossl2.dll]
plugin: PluginInstance fromFile [C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossl2.dll]
plugin: failed to load: The file 'C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossl2.dll
' is not a valid Qt plugin.
plugin: checking file: [C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossld2.dll]
plugin: PluginInstance fromFile [C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossld2.dll
]
plugin: failed to load: The file 'C:/Qt/4.4.0-beta1/plugins/crypto/qca-ossld2.dl
l' is not a valid Qt plugin.
plugin: checking in path: [C:/Qt/qca-2.0.0/bin]
Available Providers:
(none)
On 16/03/2008 , Norman Rasmussen < norman rasmussen.co.za">norman rasmussen.co.za> wrote:
> Are openssl9;s libeay32 and ssleay32 dll's findable in the current folder
> and/or path env?
> If they're not then the openssl qca plugin fails to load.
> This failure is generally cached in the registry too, so you need to clean
> that out for Qt to re-detect the openssl provider.
>
>
> On Sun, Mar 16, 2008 at 9:30 PM, optimism_ < optiz0r gmail.com">optiz0r gmail.com> wrote:
> >
> > Hi,
> >
> > I'm struggling to build a copy of QCA2 with the openssl plugin under
> > the latest version of visual studio, and the Qt 4.4 pre-release code.
> >
> > I've got a successful build working under linux so far, but the
> > windows one is causing me trouble. Following the instructions in the
> > respective INSTALL files, I've got both qca-2.0.0 and
> > qca-ossl-2.0.0-beta3 build successfully producing qcatool2 and the
> > qca-ossl2.dll files. I've moved them to the Qt directory.
> >
> > qcatool shows no available providers, despite showing the correct search
> paths.
> >
> > I've single-stepped through the QPluginLoader source, and its bailing
> > out while trying to find the
> qt_plugin_query_verification_data symbol
> > and concludes the ossl dll is not a valid Qt plugin.
> >
> > Is this a known issue or bug with QCA? Is building it in this way
> > supported at all, or am I trying to do something that just isn't
> > possible?
> >
> > Any response would be greatly appreciated; if QCA can't be made to
> > work I'll need to find an alternative asap.
> >
> > Thanks,
> >
> > Ben Roberts.
> > Electronics and Computer Science,
> > University of Southampton.
> > _______________________________________________
> > Delta mailing list
> > Delta lists.affinix.com">Delta lists.affinix.com
> > http://lists.affinix.com/listinf | |