IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Discussion :

Probleme d'installation de Qwt

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Novembre 2009
    Messages
    9
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2009
    Messages : 9
    Points : 6
    Points
    6
    Par défaut Probleme d'installation de Qwt
    Salut à tous, désolé de faire un énième topic à ce sujet mais j'ai cherché cette aprem dans le forum et j'ai pas trouvé de réponse à mon problème.

    Je souhaite installer QWT 5.2.0 avec la dernière version de QT (1/02/2010).
    Qt est installé et marche niquel.

    J'ai un problème avec la compilation de QWT par contre. Je l'ai mis dans le même répertoire que Qt. Je lance le "command prompt". Je me mets dans le répertoire qui va bien puis j'obtiens des erreurs au moment du mingw32-make :

    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
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
     
    C:\Qt\2010.02.1\qwt-5.2.0>qmake -project
    QFileInfo::absolutePath: Constructed with empty filename
     
    C:\Qt\2010.02.1\qwt-5.2.0>qmake
     
    C:\Qt\2010.02.1\qwt-5.2.0>mingw32-make
    mingw32-make -f Makefile.Debug
    mingw32-make[1]: Entering directory `C:/Qt/2010.02.1/qwt-5.2.0'
    Makefile.Debug:745: warning: overriding commands for target `debug/moc_plot.cpp'
     
    Makefile.Debug:661: warning: ignoring old commands for target `debug/moc_plot.cp
    p'
    Makefile.Debug:759: warning: overriding commands for target `debug/moc_plot.cpp'
     
    Makefile.Debug:745: warning: ignoring old commands for target `debug/moc_plot.cp
    p'
    Makefile.Debug:2153: warning: overriding commands for target `debug/main.o'
    Makefile.Debug:1956: warning: ignoring old commands for target `debug/main.o'
    Makefile.Debug:2344: warning: overriding commands for target `debug/main.o'
    Makefile.Debug:2153: warning: ignoring old commands for target `debug/main.o'
    Makefile.Debug:2377: warning: overriding commands for target `debug/plot.o'
    Makefile.Debug:2094: warning: ignoring old commands for target `debug/plot.o'
    Makefile.Debug:2391: warning: overriding commands for target `debug/main.o'
    Makefile.Debug:2344: warning: ignoring old commands for target `debug/main.o'
    Makefile.Debug:2416: warning: overriding commands for target `debug/plot.o'
    Makefile.Debug:2377: warning: ignoring old commands for target `debug/plot.o'
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\qt
    \include\QtCore" -I"..\qt\include\QtGui" -I"..\qt\include" -I"." -I"..\qt\includ
    e\ActiveQt" -I"debug" -I"..\qt\mkspecs\win32-g++" -o debug\qwt_designer_plotdial
    og.o designer\qwt_designer_plotdialog.cpp
    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
    DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\qt
    \include\QtCore" -I"..\qt\include\QtGui" -I"..\qt\include" -I"." -I"..\qt\includ
    e\ActiveQt" -I"debug" -I"..\qt\mkspecs\win32-g++" -o debug\qwt_designer_plugin.o
     designer\qwt_designer_plugin.cpp
    designer\qwt_designer_plugin.cpp:17:40: error: QDesignerFormEditorInterface: No
    such file or directory
    designer\qwt_designer_plugin.cpp:18:40: error: QDesignerFormWindowInterface: No
    such file or directory
    designer\qwt_designer_plugin.cpp:19:46: error: QDesignerFormWindowCursorInterfac
    e: No such file or directory
    designer\qwt_designer_plugin.cpp:20:29: error: QExtensionManager: No such file o
    r directory
    In file included from designer\qwt_designer_plugin.cpp:23:
    designer\/qwt_designer_plugin.h:23:42: error: QDesignerCustomWidgetInterface: No
     such file or directory
    designer\/qwt_designer_plugin.h:24:38: error: QDesignerTaskMenuExtension: No suc
    h file or directory
    designer\/qwt_designer_plugin.h:25:29: error: QExtensionFactory: No such file or
     directory
    designer\qwt_designer_plugin.cpp:27:22: error: qwt_plot.h: No such file or direc
    tory
    designer\qwt_designer_plugin.cpp:28:30: error: qwt_scale_widget.h: No such file
    or directory
    designer\qwt_designer_plugin.cpp:32:25: error: qwt_counter.h: No such file or di
    rectory
    designer\qwt_designer_plugin.cpp:33:23: error: qwt_wheel.h: No such file or dire
    ctory
    designer\qwt_designer_plugin.cpp:34:24: error: qwt_thermo.h: No such file or dir
    ectory
    designer\qwt_designer_plugin.cpp:35:22: error: qwt_knob.h: No such file or direc
    tory
    designer\qwt_designer_plugin.cpp:36:24: error: qwt_slider.h: No such file or dir
    ectory
    designer\qwt_designer_plugin.cpp:37:30: error: qwt_analog_clock.h: No such file
    or directory
    designer\qwt_designer_plugin.cpp:38:25: error: qwt_compass.h: No such file or di
    rectory
    designer\qwt_designer_plugin.cpp:41:28: error: qwt_text_label.h: No such file or
     directory
    In file included from designer\qwt_designer_plugin.cpp:23:
    designer\/qwt_designer_plugin.h:32: error: expected class-name before '{' token
    designer\/qwt_designer_plugin.h:49: error: 'QDesignerFormEditorInterface' has no
    t been declared
    designer\/qwt_designer_plugin.h:66: error: expected class-name before '{' token
    designer\/qwt_designer_plugin.h:73: error: 'QDesignerCustomWidgetInterface' was
    not declared in this scope
    designer\/qwt_designer_plugin.h:73: error: template argument 1 is invalid
    designer\/qwt_designer_plugin.h:76: error: 'QDesignerCustomWidgetInterface' was
    not declared in this scope
    designer\/qwt_designer_plugin.h:76: error: template argument 1 is invalid
    designer\/qwt_designer_plugin.h:210: error: expected class-name before '{' token
     
    designer\/qwt_designer_plugin.h:214: error: expected ')' before '*' token
    designer\/qwt_designer_plugin.h:223: error: expected class-name before '{' token
     
    designer\qwt_designer_plugin.cpp:102: error: variable or field 'initialize' decl
    ared void
    designer\qwt_designer_plugin.cpp:102: error: 'QDesignerFormEditorInterface' was
    not declared in this scope
    designer\qwt_designer_plugin.cpp:102: error: 'formEditor' was not declared in th
    is scope
    mingw32-make[1]: *** [debug/qwt_designer_plugin.o] Error 1
    mingw32-make[1]: Leaving directory `C:/Qt/2010.02.1/qwt-5.2.0'
    mingw32-make: *** [debug] Error 2
     
    C:\Qt\2010.02.1\qwt-5.2.0>
    J'ai installé tout ce qu'il y avait dans le fichier télécharge depuis Sourceforge même si a priori il dit qu'il lui manque des trucs dans le designer/plugins. Bien entendu mon dossier `\lib reste vide :s

    J'ai essayer de le réinstaller.

    Si quelqu'un a une idée même mauvaise je suis preneur ^^.

  2. #2
    Membre éprouvé

    Profil pro
    Inscrit en
    Mai 2007
    Messages
    774
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France, Finistère (Bretagne)

    Informations forums :
    Inscription : Mai 2007
    Messages : 774
    Points : 969
    Points
    969
    Par défaut
    Je ne sais plus quoi dire. J'ai du répondre trop de fois à cette question. Y'a un fichier texte "INSTALL" dans l'archive, mais personne ne le lit avant de chercher sur Internet.

    Pourtant c'est pas dur, y'a une ligne à modifier dans un fichier.

    G.
    Un problème avec Qt ? Vous trouverez votre réponse ici : http://doc.trolltech.com/4.6/overviews.html
    En français (traduction réalisée par l'équipe Qt de DVP) : http://qt.developpez.com/doc/4.6/vues-d-ensemble/

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    Novembre 2009
    Messages
    9
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2009
    Messages : 9
    Points : 6
    Points
    6
    Par défaut
    J'avoue que j'ai deviné tout seul dans un moment de lucidité qu'il fallait faire :

    qmake -project
    qmake
    mingw32-make

    et que je n'ai pas lu le fichier install pour savoir comment faire ... (sarcame hein ^^)

    J'ai bien vu le :
    So the first step is to edit qwtconfig.pri to adjust it to your needs
    si c'est à ca que tu faisais référence

    j'ai changé le INSTALLBASE mais ca n'as pas l'air de suffire vraiment ...


    Edit: Je croyais avoir tout essayé avant de répondre à ton message mais c'était vraiment con en fait ... Il ne prend tout simplement pas les \ du copier coller du chemin mais il faut lui mettre des /. Enfin bref au moins ca passe maintenant . Bon il me met une erreur sur le Qhash.h mais au moins compile un peu, je progresse !

Discussions similaires

  1. Problème d'installation de thème kde
    Par Adrael dans le forum KDE
    Réponses: 7
    Dernier message: 27/09/2003, 11h01
  2. [Kylix] Probleme d'installation sous Mdk 9.1
    Par anderson2 dans le forum EDI
    Réponses: 4
    Dernier message: 25/05/2003, 18h27
  3. Réponses: 1
    Dernier message: 19/05/2003, 15h47
  4. Réponses: 12
    Dernier message: 23/10/2002, 11h56
  5. probleme d'installation sur d'autres postes
    Par VBkiller dans le forum Composants VCL
    Réponses: 4
    Dernier message: 18/09/2002, 18h14

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo