Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Using Qt in Visual Studio 2013 Console Application
Forum Updated to NodeBB v4.3 + New Features

Using Qt in Visual Studio 2013 Console Application

Scheduled Pinned Locked Moved Installation and Deployment
qt 5.4visual studioopencv
4 Posts 2 Posters 2.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    programmer6241
    wrote on last edited by
    #1

    I have a Visual Studio 2013 Console Application that works with OpenCV 2.4.9. I am trying to get Qt running in this environment. I do not want to use a QtProject within Visual Studio.

    I have linked to Qt in VS, but at runtime I get the error: OpenCV Error: The function/feature is not implemented (The library is compiled without QT support) in cv::fontQt...

    I've seen a lot of posts about building OpenCV with Qt using Cmake. What is really important to me is using Qt in a console app. Is this even possible? If so, I would greatly appreciate some help!

    Thanks!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Sure, you can use e.g. the Qt core module.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • P Offline
        P Offline
        programmer6241
        wrote on last edited by programmer6241
        #3

        Ok, thanks. Do I accomplish this through normal linking within Visual Studio? Does the core module still allow for GUI windows, or can this only be done in a non-console application? Thanks for your time!

        EDIT:
        Hmm, it looks like the core module doesn't support GUI functionality. Is there a way to use QtGUI in a console app?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          That's a bit of a strange question, you want GUI within a console application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved