Salut, j’ai réussi à compiler qt 4.8.5 et qtcreator 2.6.2 sur mon pcduino.
J’essaye de compiler Iannix et j’ai cette erreure :
/home/ubuntu/IanniX-build-desktop-Qt_4_8_5__qt__Release/../IanniX-master/geometry/nxeasing.h:36: error: no matching function for call to 'qBound(double, qreal, double)'
J’ai rajouté le paquet #include <QtGlobal> dans Iannix.h (c’est le paquet qui utilise cette fonction) mais il faudrait déclarer la fonction mais je ne sais pas où.
C’est simple mais je suis bloqué
un grand merci
Salut,
Pas très grave, il suffit de caster les double
en qreal
. Genre : qBound((qreal)0., easing.valueForProgress(progress), (qreal)1.);
et ça devrait marcher !
Je n’ai pas encore pu essayer ta réponse car j’ai cette erreure dès que j’essaye de compiler :
:-1: error: Warning: File
../IanniX-master/IanniX.pro’ has modification time 1.2e+08 s in the future`
Je suis bloqué.
Aucune idée là… J’ai rien trouvé de probant sur Qt à ce sujet : https://www.google.fr/#q=qt+-1+error+warning+file+has+modification+time+s+in+the+future
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |