Note that there are some explanatory texts on larger screens.

plurals
  1. POlink error compiling qt project on visual 2010
    text
    copied!<p>i try to compile a qt project with visual 2010, but i have some link error when i rebuilt my solution :</p> <pre><code>error LNK2001: unresolved external symbol "public: virtual int __thiscall BNetwork::qt_metacall(enum QMetaObject::Call,int,void * *)" on bnetwork.obj error LNK2001: unresolved external symbol "public: virtual int __thiscall Contact::qt_metacall(enum QMetaObject::Call,int,void * *)" on contact.obj error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall BNetwork::metaObject(void)const " on bnetwork.obj error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Contact::metaObject(void)const " on contact.obj error LNK2001: unresolved external symbol "public: virtual void * __thiscall BNetwork::qt_metacast(char const *)" on bnetwork.obj error LNK2001: unresolved external symbol "public: virtual void * __thiscall Contact::qt_metacast(char const *)" on contact.obj </code></pre> <p>after some "googlize" i don't find some solution about this problem so i put all of my Qt libs on c:/QT/4.7.4/lib/ on my project's additional dependencies, but i always have these errors...</p> <p>i'm sure that Qt is build and install on visual because when i compile this following code (it's an exemple, not my project) it works fine :</p> <pre><code>#include &lt;QtGui/qapplication.h&gt; #include &lt;QtGui/qpushButton.h&gt; int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton bouton("Bonjour les Zéros !"); bouton.show(); QObject::connect(&amp;bouton, SIGNAL(clicked()), &amp;app, SLOT(quit())); return app.exec(); } </code></pre> <p>i haven't these errors so i think it's specific to my project but i don't find a solution</p> <p>Anyone can help me plz ?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload