Bonjours,
J'ai implementé une framework avec VC++ et Qt, mais j'ai quelque message d'erreur a cause de:
QFileDialog
les messages sont les suivants:
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
main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
moc_form1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
moc_framemainwindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
moc_framemainwindowbase.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
form1.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
framemainwindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
framemainwindowbase.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
maframe.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall QMemArray<bool>::~QMemArray<bool>(void)" (__imp_??1?$QMemArray@_N@@UAE@XZ)
framemainwindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall QWidget::recreate(class QWidget *,unsigned int,class QPoint const &,bool)" (__imp_?recreate@QWidget@@QAEXPAV1@IABVQPoint@@_N@Z)
framemainwindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class QColor  __cdecl QColorDialog::getColor(class QColor const &,class QWidget *,char const *)" (__imp_?getColor@QColorDialog@@SA?AVQColor@@ABV2@P
AVQWidget@@PBD@Z)
framemainwindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class QString  __cdecl QFileDialog::getOpenFileName(class QString const &,class QString const &,class QWidget *,char const *,class QString const &,
class QString *,bool)" (__imp_?getOpenFileName@QFileDialog@@SA?AVQString@@ABV2@0PAVQWidget@@PBD0PAV2@_N@Z)
framemainwindow.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class QString  __cdecl QFileDialog::getSaveFileName(class QString const &,class QString const &,class QWidget *,char const *,class QString const &,
class QString *,bool)" (__imp_?getSaveFileName@QFileDialog@@SA?AVQString@@ABV2@0PAVQWidget@@PBD0PAV2@_N@Z)
Debug/frame.exe : warning LNK4088: image being generated due to /FORCE option; image may not run
frame.exe - 12 error(s)
J'ai pas trouvé la Pb,
Merci pour os réponses.