1

I'm trying to get the the Qt library to work in an my existing VS2010 project. But I am pretty much stuck.

I have succesuflly compiled the library with nmake on 64 bit and added the Qt adon for vs2010.

But i don't no how to use it in my project, the project makes already use of the boost and the opencv librarys and these work just fine.

I found a thread here on stackoverflow that says I need to edit the vs project file with an text editor but when I do this I cant find the global section that I need to edit.

Can anyone help me with this problem? Thank in advance.

RSNL
  • 213
  • 3
  • 15
  • Did you really mean "exciting"? Or should it be "existing"? There is normally no need to edit the project files manually. What exactly is not working? – Paul Michalik Oct 04 '12 at 17:39
  • I mean existing, soory for the error. The question is how do i call the library in my existing project? So that i don't need to create a new QT project. – RSNL Oct 04 '12 at 18:21
  • If you are sendign Qt events around you will probably need a QApplication running see http://stackoverflow.com/questions/2150488/using-a-qt-based-dll-in-a-non-qt-application – Martin Beckett Oct 04 '12 at 18:58
  • I tried to make a new QT project (with one form) but then VS says there is no 64x version assigned to qt. But i build it with the vs 64x command promt. There is also just one version of qt that the plugin sees(qt->options). Does someone knows what is wrong here? – RSNL Oct 04 '12 at 19:44

1 Answers1

1

I solved it, wel sort of. I made a new QT project and added my excisting code in the new QT project. I also linked the opencv an boost libs and the application works now!

Thanks for all the comments

RSNL
  • 213
  • 3
  • 15