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

Outils Discussion :

Lien entre Qt et OpenCV


Sujet :

Outils

  1. #1
    Nouveau membre du Club
    Femme Profil pro
    Étudiant
    Inscrit en
    Février 2014
    Messages
    37
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Algérie

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2014
    Messages : 37
    Points : 27
    Points
    27
    Par défaut Lien entre Qt et OpenCV
    Bonsoir ,je veux créer une interface de mon projet que je l'ai réaliser avec le langage C on utilisant la bibliothèque d'openCV2.1 ,avec Qt 5.1.0
    j'arrive pas à faire le lien entre opencv2.1 et qt 5.1.0

    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
    #-------------------------------------------------
    #
    # Project created by QtCreator 2015-04-24T09:44:31
    #
    #-------------------------------------------------
     
    QT       += core gui
     
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
     
    TARGET = essai2
    TEMPLATE = app
    CONFIG +=console
    CONFIG -=app-bundle
    CONFIG -=qt
    INCLUDEPATH += C:\OpenCV2.2\include
    INCLUDEPATH +=C:\OpenCV2.1\include\opencv
    LIBS +=C:\OpenCV2.1\lib -lopencv_ts_pch_dephelp -lopencv_video210 -lopencv_video_pch_dephelp -lopencv_videostab210 -lopencv_videostab_pch_dephelp -lopencv_calib3d210 -lopencv_calib3d_pch_dephelp -lopencv_contrib210 -lopencv_contrib_pch_dephelp -lopencv_core210 -lopencv_core_pch_dephelp -lopencv_features2d210 -lopencv_features2d_pch_dephelp -lopencv_flann210 -lopencv_flann_pch_dephelp -lopencv_gpu210 -lopencv_gpu_pch_dephelp -lopencv_haartraining_engine -lopencv_highgui210 -lopencv_highgui_pch_dephelp -lopencv_imgproc210 -lopencv_imgproc_pch_dephelp -lopencv_legacy210 -lopencv_legacy_pch_dephelp -lopencv_ml210 -lopencv_ml_pch_dephelp -lopencv_nonfree210 -lopencv_nonfree_pch_dephelp -lopencv_objdetect210 -lopencv_objdetect_pch_dephelp -lopencv_ocl210 -lopencv_ocl_pch_dephelp -lopencv_perf_calib3d_pch_dephelp -lopencv_perf_core_pch_dephelp -lopencv_perf_features2d_pch_dephelp -lopencv_perf_gpu_pch_dephelp -lopencv_perf_highgui_pch_dephelp -lopencv_perf_imgproc_pch_dephelp -lopencv_perf_nonfree_pch_dephelp -lopencv_perf_objdetect_pch_dephelp -lopencv_perf_ocl_pch_dephelp -lopencv_perf_photo_pch_dephelp -lopencv_perf_stitching_pch_dephelp -lopencv_perf_superres_pch_dephelp -lopencv_perf_video_pch_dephelp -lopencv_photo210 -lopencv_photo_pch_dephelp -lopencv_stitching210 -lopencv_stitching_pch_dephelp -lopencv_superres210 -lopencv_superres_pch_dephelp -lopencv_test_calib3d_pch_dephelp -lopencv_test_contrib_pch_dephelp -lopencv_test_core_pch_dephelp -lopencv_test_features2d_pch_dephelp -lopencv_test_flann_pch_dephelp -lopencv_test_gpu_pch_dephelp -lopencv_test_highgui_pch_dephelp -lopencv_test_imgproc_pch_dephelp -lopencv_test_legacy_pch_dephelp -lopencv_test_ml_pch_dephelp -lopencv_test_nonfree_pch_dephelp -lopencv_test_objdetect_pch_dephelp -lopencv_test_ocl_pch_dephelp -lopencv_test_photo_pch_dephelp -lopencv_test_stitching_pch_dephelp
     
    SOURCES += main.cpp\
            mainwindow.cpp
     
    HEADERS  += mainwindow.h
     
    FORMS    += mainwindow.ui
    ce code je l'ai trouver sur le net mais ça ne marche pas voilà les erreur que j'ai:
    :-1: erreur : cannot find -lopencv_ts_pch_dephelp
    :-1: erreur : cannot find -lopencv_video210
    :-1: erreur : cannot find C:\OpenCV2.1\lib: Permission denied
    :-1: erreur : cannot find -lopencv_video_pch_dephelp
    svp comment je peux réglé se problème
    et merci d'avance .

  2. #2
    Responsable Qt & Livres


    Avatar de dourouc05
    Homme Profil pro
    Ingénieur de recherche
    Inscrit en
    Août 2008
    Messages
    26 618
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Ingénieur de recherche
    Secteur : Enseignement

    Informations forums :
    Inscription : Août 2008
    Messages : 26 618
    Points : 188 593
    Points
    188 593
    Par défaut


    Citation Envoyé par ninou blue Voir le message
    :-1: erreur : cannot find C:\OpenCV2.1\lib: Permission denied
    À tout hasard, ce dossier existe bien ?
    Vous souhaitez participer aux rubriques Qt (tutoriels, FAQ, traductions) ou HPC ? Contactez-moi par MP.

    Créer des applications graphiques en Python avec PyQt5
    Créer des applications avec Qt 5.

    Pas de question d'ordre technique par MP !

  3. #3
    Nouveau membre du Club
    Femme Profil pro
    Étudiant
    Inscrit en
    Février 2014
    Messages
    37
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Algérie

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2014
    Messages : 37
    Points : 27
    Points
    27
    Par défaut
    Oui ce dossier existe

Discussions similaires

  1. Réponses: 5
    Dernier message: 27/05/2004, 16h11
  2. Lien entre les vues 'Structure' et l'éditeur
    Par Tifauv' dans le forum Eclipse Platform
    Réponses: 3
    Dernier message: 13/05/2004, 16h06
  3. lien entre les table de paradox
    Par salim_intic1 dans le forum Bases de données
    Réponses: 2
    Dernier message: 13/05/2004, 16h00
  4. Réponses: 3
    Dernier message: 11/04/2004, 01h05
  5. [debutant][servlet]lien entre formulaire et servlet
    Par omega dans le forum Servlets/JSP
    Réponses: 4
    Dernier message: 05/03/2004, 08h54

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