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. Missing QAxObject
Forum Updated to NodeBB v4.3 + New Features

Missing QAxObject

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 2 Posters 4.8k 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.
  • DomyphaneD Offline
    DomyphaneD Offline
    Domyphane
    wrote on last edited by
    #1

    Before creating this new topic, I have searched on Internet a solution to the problem I encounter with QAxObject class.

    When I try to include the class, Qt does not recongnize it :
    QAxObject : No such file or directory.

    Is it due to the install process of Qt on my computer ?
    Do I have to get the class on Internet ?

    If you have an answer to this problem, I would appreciate to get helped.

    Best regards,

    Domyphane

    kshegunovK 1 Reply Last reply
    0
    • DomyphaneD Domyphane

      Before creating this new topic, I have searched on Internet a solution to the problem I encounter with QAxObject class.

      When I try to include the class, Qt does not recongnize it :
      QAxObject : No such file or directory.

      Is it due to the install process of Qt on my computer ?
      Do I have to get the class on Internet ?

      If you have an answer to this problem, I would appreciate to get helped.

      Best regards,

      Domyphane

      kshegunovK Offline
      kshegunovK Offline
      kshegunov
      Moderators
      wrote on last edited by
      #2

      @Domyphane
      Hello,
      Do you have the appropriate module in your project file:

      QT += axcontainer
      

      Kind regards.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0
      • DomyphaneD Offline
        DomyphaneD Offline
        Domyphane
        wrote on last edited by
        #3

        @kshegunov said:

        QT += axcontainer

        Thanks for your answer, very kind of you.

        I have added Qt += axcontainer in my project.

        When I compile it, I have a new error message :

        error : qaxcontainer.lib : No such file or directory. I searched in the Qt directory if there was this file but it was not found.

        I study for the moment the C++ language (with code::blocks) and the Qt software.

        I have a professional project which is to re-write a tool I have developped with VBA (Inside Word) in C++. And during my training period, I am looking information about my project.

        Thanks again for your answer.

        Best regards,

        Domyphane

        kshegunovK 1 Reply Last reply
        0
        • DomyphaneD Domyphane

          @kshegunov said:

          QT += axcontainer

          Thanks for your answer, very kind of you.

          I have added Qt += axcontainer in my project.

          When I compile it, I have a new error message :

          error : qaxcontainer.lib : No such file or directory. I searched in the Qt directory if there was this file but it was not found.

          I study for the moment the C++ language (with code::blocks) and the Qt software.

          I have a professional project which is to re-write a tool I have developped with VBA (Inside Word) in C++. And during my training period, I am looking information about my project.

          Thanks again for your answer.

          Best regards,

          Domyphane

          kshegunovK Offline
          kshegunovK Offline
          kshegunov
          Moderators
          wrote on last edited by
          #4

          @Domyphane
          Hello,
          This is the import library for the QtAx module. Are you sure the module is installed? How did you obtain Qt and what modules did you install?

          Kind regards.

          Read and abide by the Qt Code of Conduct

          DomyphaneD 1 Reply Last reply
          0
          • kshegunovK kshegunov

            @Domyphane
            Hello,
            This is the import library for the QtAx module. Are you sure the module is installed? How did you obtain Qt and what modules did you install?

            Kind regards.

            DomyphaneD Offline
            DomyphaneD Offline
            Domyphane
            wrote on last edited by
            #5

            @kshegunov Hello,
            Thanks for your piece of advice concerning my research to able connexion beween a Qt project and Microsoft Excel.
            You are asking me how I obtained Qt.

            I connected on the URL : www.qt.io/download
            There, 3 possibilities were given to me :

            • Commercial deployment,
            • In-house deployment, private use, or student use
            • Open source distribution under an LGPL or GPL license

            I chose the third one (Open source distribution under an LGPL or GPL license).

            Then I was asked to choose Yes - No - Not sure to the question "Are you prepared to make your application source code publicly available?" I chose Yes,

            Then I was asked to choose Yes - No - Not sure to the question "Are you able to comply with the obligations of the LGPL v3 (or GPL v2/v3) and/or does your corporation allow open source usage?". I chose Yes

            I clicked on the button "Get started" and on the button "Download Now".

            A file of 18 Mo was downloaded on my computer.

            From yesterday, I try to find help on the Internet (different sites not only Qt ones) and I read that the QAx container was not under an Open Source Distribution.

            Is this the reason why I have this problem ?

            It would be kind of you if you could give me a small explanation on the way to gest the axecontainer.lib and other things to get right ?

            Thanks a lot for your help.

            Best regards.

            Domyphane

            kshegunovK 1 Reply Last reply
            0
            • DomyphaneD Domyphane

              @kshegunov Hello,
              Thanks for your piece of advice concerning my research to able connexion beween a Qt project and Microsoft Excel.
              You are asking me how I obtained Qt.

              I connected on the URL : www.qt.io/download
              There, 3 possibilities were given to me :

              • Commercial deployment,
              • In-house deployment, private use, or student use
              • Open source distribution under an LGPL or GPL license

              I chose the third one (Open source distribution under an LGPL or GPL license).

              Then I was asked to choose Yes - No - Not sure to the question "Are you prepared to make your application source code publicly available?" I chose Yes,

              Then I was asked to choose Yes - No - Not sure to the question "Are you able to comply with the obligations of the LGPL v3 (or GPL v2/v3) and/or does your corporation allow open source usage?". I chose Yes

              I clicked on the button "Get started" and on the button "Download Now".

              A file of 18 Mo was downloaded on my computer.

              From yesterday, I try to find help on the Internet (different sites not only Qt ones) and I read that the QAx container was not under an Open Source Distribution.

              Is this the reason why I have this problem ?

              It would be kind of you if you could give me a small explanation on the way to gest the axecontainer.lib and other things to get right ?

              Thanks a lot for your help.

              Best regards.

              Domyphane

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #6

              @Domyphane said:

              A file of 18 Mo was downloaded on my computer.

              This is (most probably) the Qt maintenance tool. You should start it and select which components you want to install. What compiler are you using? You should take care that the Qt library/ies you're installing are built with the same compiler you're using.

              Also, take a look here for more comprehensive information.

              Kind regards.

              Read and abide by the Qt Code of Conduct

              DomyphaneD 1 Reply Last reply
              0
              • kshegunovK kshegunov

                @Domyphane said:

                A file of 18 Mo was downloaded on my computer.

                This is (most probably) the Qt maintenance tool. You should start it and select which components you want to install. What compiler are you using? You should take care that the Qt library/ies you're installing are built with the same compiler you're using.

                Also, take a look here for more comprehensive information.

                Kind regards.

                DomyphaneD Offline
                DomyphaneD Offline
                Domyphane
                wrote on last edited by
                #7

                @kshegunov
                Hello and thanks for your explanations.

                For the moment, I do not feel enough at ease with the Qt's framework which means that I must go on discovering it before asking questions.

                As I said, my goal with C++ and Qt is to re-write a tool I have programmed in VBA for my employer and I want to be sure that I sall not be blocked in the fututre for some reasons.
                This is why I try to check if Qt can dialog with Excel which is possible (with QAxObject).

                But I want to be sure that the free version of Qt allows it (dialog with Excel).

                My compilor is Mingw 5.3.0 32 bits.

                Thanks.

                Kind regards,

                Domyphane

                kshegunovK 1 Reply Last reply
                0
                • DomyphaneD Domyphane

                  @kshegunov
                  Hello and thanks for your explanations.

                  For the moment, I do not feel enough at ease with the Qt's framework which means that I must go on discovering it before asking questions.

                  As I said, my goal with C++ and Qt is to re-write a tool I have programmed in VBA for my employer and I want to be sure that I sall not be blocked in the fututre for some reasons.
                  This is why I try to check if Qt can dialog with Excel which is possible (with QAxObject).

                  But I want to be sure that the free version of Qt allows it (dialog with Excel).

                  My compilor is Mingw 5.3.0 32 bits.

                  Thanks.

                  Kind regards,

                  Domyphane

                  kshegunovK Offline
                  kshegunovK Offline
                  kshegunov
                  Moderators
                  wrote on last edited by
                  #8

                  @Domyphane
                  Hello,

                  But I want to be sure that the free version of Qt allows it (dialog with Excel).

                  From what I read the said module is distributed under GPL which is more restrictive than the LGPL, and since I have no idea what or how you want to do, and since I'm not a lawyer, I don't know if you can use it for your work. Sorry.

                  Kind regards.

                  Read and abide by the 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