Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Using Qt classes in VS project
Forum Updated to NodeBB v4.3 + New Features

Using Qt classes in VS project

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 3 Posters 496 Views 1 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.
  • M Offline
    M Offline
    Milosz
    wrote on last edited by
    #1

    I have got a VS2019 project to improve its funcionality.
    The siplest way to do it is to use some Qt classes (including signal - slot connections).
    But I have problems - the moc is not operate ( unresolved external symbol "public: virtual int _thiscall CNewsFeeder::qt_metacall)
    and I cannot to force IDE to produce moc
    * files.
    Is it any way to do it.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Milosz said in Using Qt classes in VS project:

      Is it any way to do it.

      Create your project with qmake (or cmake).

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      M 1 Reply Last reply
      1
      • M Offline
        M Offline
        Milosz
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          @Milosz said in Using Qt classes in VS project:

          Is it any way to do it.

          Create your project with qmake (or cmake).

          M Offline
          M Offline
          Milosz
          wrote on last edited by Milosz
          #4

          @Christian-Ehrlicher
          In other words I have to create a new project - I cannot modify the current one.
          did i understand correctly?

          KroMignonK 1 Reply Last reply
          0
          • M Milosz

            @Christian-Ehrlicher
            In other words I have to create a new project - I cannot modify the current one.
            did i understand correctly?

            KroMignonK Offline
            KroMignonK Offline
            KroMignon
            wrote on last edited by KroMignon
            #5

            @Milosz said in Using Qt classes in VS project:

            n other words I have to create a new project - I cannot modify the current one.
            did i understand correctly?

            Perhaps you can try to use Qt Visual Studio Tools. It may include an import feature, but I don't know. I never use it.

            Yes, you need to create a new project, because using Qt requires to made deep changes in your code.

            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

            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