2013-07-17 4 views
0

я пытаюсь построить простое окно Qt с фотошоп плагинVS2010E Qt ошибка компиляции 5,1 LNK2001 LNK2019

я положил библиотеки, где она принадлежит в каталоге Include:

E:\Program_Files\Qt32\5.1.0\msvc2010\include; 
E:\Program_Files\Qt32\5.1.0\msvc2010\include\QtWidgets\; 

в библиотеке каталог:

E:\Program_Files\Qt32\5.1.0\msvc2010\lib; 
E:\Program_Files\Qt32\5.1.0\msvc2010\lib\cmake\Qt5Core; 

в ссылке> Общие> каталог дополнительных библиотек

E:\Program_Files\Qt32\5.1.0\msvc2010\lib\cmake; 
E:\Program_Fi 

les \ Qt32 \ 5.1.0 \ msvc2010 \ lib \ cmake \ Qt5Core;

я АЛОС добавлен в редакторе ссылок> запись> дополнительные зависимости

Qt5Cored.lib; 
Qt5Core.lib; 
Qt5Gui.lib; 

вот что у меня есть: (я использую VS2010 Express, так что я не могу использовать VSadd в)

Я пытались много вещей без удачи

благодаря

1>  Création de la bibliothèque .\..\..\..\Output\Objs\tempproj\Release/tempproj.lib et de l'objet .\..\..\..\Output\Objs\tempproj\Release/tempproj.exp 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall QAbstractButton::setText(class QString const &)" ([email protected]@@[email protected]@@Z) référencé dans la fonction "public: void __thiscall Ui_GradientSelector::retranslateUi(class QMainWindow *)" ([email protected][email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall QWidget::setWindowTitle(class QString const &)" ([email protected]@@[email protected]@@Z) référencé dans la fonction "public: void __thiscall Ui_GradientSelector::retranslateUi(class QMainWindow *)" ([email protected][email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QMainWindow::~QMainWindow(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual __thiscall GradientSelector::~GradientSelector(void)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual struct QMetaObject const * __thiscall GradientSelector::metaObject(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void * __thiscall GradientSelector::qt_metacast(char const *)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall GradientSelector::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@@[email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QMainWindow::event(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall QWidget::setVisible(bool)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QSize __thiscall QWidget::sizeHint(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QSize __thiscall QWidget::minimumSizeHint(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QWidget::heightForWidth(int)const " ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual bool __thiscall QWidget::hasHeightForWidth(void)const " ([email protected]@@UBE_NXZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::mousePressEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::mouseReleaseEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::mouseDoubleClickEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::mouseMoveEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::wheelEvent(class QWheelEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::keyPressEvent(class QKeyEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::keyReleaseEvent(class QKeyEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::focusInEvent(class QFocusEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::focusOutEvent(class QFocusEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::enterEvent(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::leaveEvent(class QEvent *)" ([email protected]@@M[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::paintEvent(class QPaintEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::moveEvent(class QMoveEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::resizeEvent(class QResizeEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::closeEvent(class QCloseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMainWindow::contextMenuEvent(class QContextMenuEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::tabletEvent(class QTabletEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::actionEvent(class QActionEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::dragEnterEvent(class QDragEnterEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::dragMoveEvent(class QDragMoveEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::dragLeaveEvent(class QDragLeaveEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::dropEvent(class QDropEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::showEvent(class QShowEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::hideEvent(class QHideEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QWidget::nativeEvent(class QByteArray const &,void *,long *)" ([email protected]@@[email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::changeEvent(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::inputMethodEvent(class QInputMethodEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QVariant __thiscall QWidget::inputMethodQuery(enum Qt::InputMethodQuery)const " ([email protected]@@[email protected]@[email protected]@@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QWidget::focusNextPrevChild(bool)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QMenu * __thiscall QMainWindow::createPopupMenu(void)" ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QWidget::devType(void)const " ([email protected]@@UBEHXZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QPaintEngine * __thiscall QWidget::paintEngine(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual int __thiscall QWidget::metric(enum QPaintDevice::PaintDeviceMetric)const " ([email protected]@@[email protected]@@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::initPainter(class QPainter *)const " ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual class QPaintDevice * __thiscall QWidget::redirected(class QPoint *)const " ([email protected]@@[email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual class QPainter * __thiscall QWidget::sharedPainter(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall QMainWindow::setStatusBar(class QStatusBar *)" ([email protected]@@[email protected]@@Z) référencé dans la fonction "public: void __thiscall Ui_GradientSelector::setupUi(class QMainWindow *)" ([email protected][email protected]@[email protected]@@Z)[email protected][email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall QWidget::QWidget(class QWidget *,class QFlags<enum Qt::WindowType>)" ([email protected]@[email protected]@[email protected]@[email protected]@@@@Z) référencé dans la fonction "public: void __thiscall Ui_GradientSelector::setupUi(class QMainWindow *)" ([email protected][email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall QWidget::resize(class QSize const &)" ([email protected]@@[email protected]@@Z) référencé dans la fonction "public: void __thiscall Ui_GradientSelector::setupUi(class QMainWindow *)" ([email protected][email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual struct QMetaObject const * __thiscall QWidget::metaObject(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void * __thiscall QWidget::qt_metacast(char const *)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QWidget::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@@[email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QWidget::event(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QWidget::contextMenuEvent(class QContextMenuEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual struct QMetaObject const * __thiscall QPushButton::metaObject(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void * __thiscall QPushButton::qt_metacast(char const *)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QPushButton::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@@[email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QPushButton::event(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::timerEvent(class QTimerEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QSize __thiscall QPushButton::sizeHint(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QSize __thiscall QPushButton::minimumSizeHint(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::mousePressEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::mouseReleaseEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::mouseMoveEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QPushButton::keyPressEvent(class QKeyEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::keyReleaseEvent(class QKeyEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QPushButton::focusInEvent(class QFocusEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QPushButton::focusOutEvent(class QFocusEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QPushButton::paintEvent(class QPaintEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::changeEvent(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QAbstractButton::hitButton(class QPoint const &)const " ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::checkStateSet(void)" ([email protected]@@MAEXXZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QAbstractButton::nextCheckState(void)" ([email protected]@@MAEXXZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual struct QMetaObject const * __thiscall QLineEdit::metaObject(void)const " [email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void * __thiscall QMenuBar::qt_metacast(char const *)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QMenuBar::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@@[email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QMenuBar::event(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QMenuBar::eventFilter(class QObject *,class QEvent *)" ([email protected]@@[email protected]@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::timerEvent(class QTimerEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void __thiscall QMenuBar::setVisible(bool)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QSize __thiscall QMenuBar::sizeHint(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual class QSize __thiscall QMenuBar::minimumSizeHint(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QMenuBar::heightForWidth(int)const " ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::mousePressEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::mouseReleaseEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::mouseMoveEvent(class QMouseEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::keyPressEvent(class QKeyEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::focusInEvent(class QFocusEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::focusOutEvent(class QFocusEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::leaveEvent(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::paintEvent(class QPaintEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::resizeEvent(class QResizeEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::actionEvent(class QActionEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QMenuBar::changeEvent(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual struct QMetaObject const * __thiscall QToolBar::metaObject(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void * __thiscall QToolBar::qt_metacast(char const *)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QToolBar::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@@[email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QToolBar::event(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QToolBar::paintEvent(class QPaintEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QToolBar::actionEvent(class QActionEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QToolBar::changeEvent(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual struct QMetaObject const * __thiscall QStatusBar::metaObject(void)const " ([email protected]@@[email protected]@XZ) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual void * __thiscall QStatusBar::qt_metacast(char const *)" ([email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "public: virtual int __thiscall QStatusBar::qt_metacall(enum QMetaObject::Call,int,void * *)" ([email protected]@@[email protected]@@[email protected]) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual bool __thiscall QStatusBar::event(class QEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QStatusBar::paintEvent(class QPaintEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QStatusBar::resizeEvent(class QResizeEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2001: symbole externe non résolu "protected: virtual void __thiscall QStatusBar::showEvent(class QShowEvent *)" ([email protected]@@[email protected]@@Z) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QWidget::~QWidget(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual void * __thiscall QWidget::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QPushButton::~QPushButton(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual void * __thiscall QPushButton::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QLineEdit::~QLineEdit(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual void * __thiscall QLineEdit::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QMenuBar::~QMenuBar(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual void * __thiscall QMenuBar::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QToolBar::~QToolBar(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual void * __thiscall QToolBar::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall QStatusBar::~QStatusBar(void)" ([email protected]@[email protected]) référencé dans la fonction "public: virtual void * __thiscall QStatusBar::`scalar deleting destructor'(unsigned int)" ([email protected]@[email protected]) 
1>GradientSelector.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall QMainWindow::QMainWindow(class QWidget *,class QFlags<enum Qt::WindowType>)" ([email protected]@[email protected]@@[email protected]@[email protected]@@@@Z) référencé dans la fonction "public: __thiscall GradientSelector::GradientSelector(class QWidget *)" ([email protected]@[email protected]@@@Z) 
1>C:\Program Files (x86)\Adobe\Photoshop Elements 3.0\Plug-Ins\Filters\tempproj.8bf : fatal error LNK1120: 148 externes non résolus 
+0

Вы используете moc и в том числе сгенерированные источники moc в своей цели? – drescherjm

ответ

0

Где вы установили MSVC2010. Если вы не изменили путь установки MSVC при его установке, ваш MSVC находится в папке C: \ Program Files \ Microsoft Visual Studio 10.0 ... Затем вы должны включить ваши файлы .header и .lib-файлы в C: \ Program Files \ Microsoft Visual Studio 10.0 \ VC \ include ... и C: \ Program Files \ Microsoft Visual Studio 10.0 \ VC \ lib .. Это путь, в котором компилятор MSVC будет искать файлы заголовков и .lib-файлы.

+0

не лучше ли добавлять библиотеки lib и include в опцию проекта VS? и btw мой каталог установки e: \ jeux_install \ vs # haha ​​рассматривает (и спасибо за помощь) Jeff – IonOne

+0

@IonOne, Да, лучше и переносимо добавить путь к библиотеке в «Каталог библиотек» из «Каталогов VC++». (например, каталог библиотеки = «X: \ Directory \ Directory \ DirectoryThatContainsDotLibFiles; $ (LibraryPath)). Не забывайте о запятой после вашего пути и добавляйте $ (LibraryPath) всегда, чтобы включить значение по умолчанию для унаследованных библиотек.) –