Bonjour,

Je n'arrive pas a compiler Qt 4.4.0 sous windows XP avec minGW.

Le configuration se passe bien. Mais à la compilation j'ai des erreurs. Voici une portion du code erreur :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 
ssl/qsslcertificate.cpp:344: error: expected `;' before "q_X509_get_ext_d2i"
ssl/qsslcertificate.cpp:347: error: expected primary-expression before "int"
ssl/qsslcertificate.cpp:347: error: expected `)' before "int"
ssl/qsslcertificate.cpp:347: error: expected `)' before ';' token
ssl/qsslcertificate.cpp:348: error: expected initializer before '*' token
ssl/qsslcertificate.cpp:349: error: `genName' was not declared in this scope
ssl/qsslcertificate.cpp:349: error: `GEN_DNS' was not declared in this scope
ssl/qsslcertificate.cpp:349: error: `GEN_EMAIL' was not declared in this scope
ssl/qsslcertificate.cpp:349: warning: unused variable 'GEN_DNS'
ssl/qsslcertificate.cpp:349: warning: unused variable 'GEN_EMAIL'
ssl/qsslcertificate.cpp:352: error: `genName' was not declared in this scope
ssl/qsslcertificate.cpp:352: error: `q_ASN1_STRING_length' cannot be used as a f
unction
ssl/qsslcertificate.cpp:358: error: `q_ASN1_STRING_data' cannot be used as a fun
ction
ssl/qsslcertificate.cpp:360: error: `GEN_DNS' was not declared in this scope
ssl/qsslcertificate.cpp:362: error: `GEN_EMAIL' was not declared in this scope
ssl/qsslcertificate.cpp:362: warning: unused variable 'GEN_EMAIL'
ssl/qsslcertificate.cpp:360: warning: unused variable 'GEN_DNS'
ssl/qsslcertificate.cpp:365: error: `q_sk_free' cannot be used as a function
ssl/qsslcertificate.cpp: In member function `QSslKey QSslCertificate::publicKey(
) const':
ssl/qsslcertificate.cpp:420: error: `X509_PUBKEY' was not declared in this scope
 
ssl/qsslcertificate.cpp:420: error: `xkey' was not declared in this scope
ssl/qsslcertificate.cpp:420: error: invalid use of undefined type `struct x509_s
t'
../../include/QtNetwork/../../src/network/ssl/qsslcertificate.h:32: error: forwa
rd declaration of `struct x509_st'
ssl/qsslcertificate.cpp:421: error: `EVP_PKEY' was not declared in this scope
ssl/qsslcertificate.cpp:421: error: `pkey' was not declared in this scope
ssl/qsslcertificate.cpp:421: error: `q_X509_PUBKEY_get' was not declared in this
 scope
ssl/qsslcertificate.cpp:424: error: `EVP_PKEY_RSA' was not declared in this scop
e
ssl/qsslcertificate.cpp:425: error: 'class QSslKeyPrivate' has noC member named '
Sinon voici mes paramètres de compilation :


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
# Qt 'configure' params
configparams="-static -debug-and-release"
configparams+=" -openssl-linked -qt-libpng -qt-libjpeg -qt-gif -qt-libtiff -qt-libmng"
configparams+=" -no-dsp -no-vcproj -no-qt3support -no-phonon -no-webkit"
configparams+=" -D QT_NO_DEBUG"
Merci pour votre aide.