Results 1 to 8 of 8

Thread: connecting project in visual c++ with interface in qt?

  1. #1
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Question connecting project in visual c++ with interface in qt?

    I have a project depends on the OpenCV and FANN library of artificial neural networks. This project runs in Visual C++.
    I want to make a graphical user interface by using QT.
    Is this possible?

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: connecting project in visual c++ with interface in qt?

    What kind of project is this ? A console application, or maybe you have some gui already ?
    You can always create a library and use it from Qt application, or expose your app via command line interface and use it with QProcess.
    Describe this project more, so it'll be easier to figure out good solution.

  3. #3
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Question Re: connecting project in visual c++ with interface in qt?

    Quote Originally Posted by stampede View Post
    What kind of project is this ? A console application, or maybe you have some gui already ?
    You can always create a library and use it from Qt application, or expose your app via command line interface and use it with QProcess.
    Describe this project more, so it'll be easier to figure out good solution.
    Hi stampede,


    My project is road sign detection & recognition by using neural networks.
    It needs openCV for image processing, & FANN lib for creating & using NNW.
    So, I used visual c++6.

    It is a console application, and I didn't have any gui.

    I want to make GUI to display images before & after processing.

  4. #4
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: connecting project in visual c++ with interface in qt?

    Ok, so you have core algorithms implemented. I think it could be nice to put them into library.
    For display you'll need to provide conversion methods, from IplImage (probably this is what you use) to QImage, and then QPixmap for display. Or if you use OpenGL module, you can displa the image data without any conversions as a OpenGL texture (again, if you are using OpenCV IplImages ).

  5. #5
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Default Re: connecting project in visual c++ with interface in qt?

    I just need to know if i can use qt with visual c++6?
    what tools that i need it to download it and start?

  6. #6
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: connecting project in visual c++ with interface in qt?

    ok, so maybe try with Qt for windows (VS2008)

  7. The following user says thank you to stampede for this useful post:

    Abeer (20th June 2011)

  8. #7
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Default Re: connecting project in visual c++ with interface in qt?

    That means: I can't using qt with vs6

    Thank you for help.

  9. #8
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: connecting project in visual c++ with interface in qt?

    Well, you could rebuild you console app with the free to download Microsoft Windows SDK compiler and then you wouldn't have problems supporting an end-of-life compiler.

  10. The following user says thank you to ChrisW67 for this useful post:

    Abeer (21st June 2011)

Similar Threads

  1. qmake and Microsoft Visual Studio project filters
    By erik in forum Installation and Deployment
    Replies: 1
    Last Post: 11th January 2013, 06:13
  2. Replies: 1
    Last Post: 12th April 2011, 15:48
  3. Replies: 0
    Last Post: 5th February 2009, 23:41
  4. Replies: 3
    Last Post: 18th April 2007, 15:31
  5. Qt 4 and Visual Studio 2005 Add-in project
    By JSPoly in forum Qt Programming
    Replies: 10
    Last Post: 23rd January 2007, 22:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.