Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Compile QAxObject with visual studio?

Compile QAxObject with visual studio?

Scheduled Pinned Locked Moved Solved General and Desktop
6 Posts 2 Posters 431 Views
  • 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.
  • V Offline
    V Offline
    vinh
    wrote on last edited by
    #1

    I have include <Active/QaxObject> for work with excel, but complie is don't with error LNK2019, I see topic add line "QT += axcontainer" but I use visual studio for source, how to compile it?
    24f32c74-682a-46e4-b7ee-06e2dc30c6ac-image.png ![alt text](image url)

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

      @vinh said in Compile QAxObject with visual studio?:

      but I use visual studio for source, how to compile

      How do you create your VisualStudio Project? With the Qt addin? If so then you can add this there.

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

      1 Reply Last reply
      2
      • V Offline
        V Offline
        vinh
        wrote on last edited by
        #3

        yes, I create project with Visual Studio 2019, how to use QAxObject? I try complie but error LNK2019

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

          @vinh said in Compile QAxObject with visual studio?:

          I create project with Visual Studio 2019,

          I asked you how you create your project files. Do you use the Qt Visual Studio Plugin? Or do you add your libraries and include paths by hand?

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

          1 Reply Last reply
          2
          • V Offline
            V Offline
            vinh
            wrote on last edited by
            #5

            solve: project->properties->QT project setting-> QT modules-> check ActiveQT Container

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

              Then please also mark this topic as solved, thx.

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

              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