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. Qt 4 VS addin problems
Forum Updated to NodeBB v4.3 + New Features

Qt 4 VS addin problems

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
9 Posts 3 Posters 3.1k 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.
  • J Offline
    J Offline
    jwrieden
    wrote on last edited by A Former User
    #1

    i have Vs2012, in windows 10, with an admin account. I installed qt-vs-addin-1.2.3-opensource.exe, using admin rights.
    when I booted VS2012.

    I get an error message:
    couldn't register all QT4VS addin commands: Object reference not set to an instance of an object. at Qt5VSaddin.AddinInit.registerCommands()

    and the QT5 menu option is greyed out.

    please can someone help me.

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

      What version of Qt did you install ?
      Sounds like you use Qt4 but try to use the Qt5 plugin.

      Does Creator work ?
      I mean, can you make a default project GUI and run it?

      1 Reply Last reply
      1
      • J Offline
        J Offline
        jwrieden
        wrote on last edited by
        #3

        hi, it tried, Qt 5.4.1, and 5.5.0

        Addin:
        qt-vs-addin-1.2.3-opensource.exe
        qt-vs-addin-1.2.5.exe

        Qt creator:

        qt-opensource-windows-x86-msvc2012-5.5.0.exe

        qt-opensource-windows-x86-msvc2012_opengl-5.4.1.exe

        qt creator opens, builds and runs

        mrjjM 1 Reply Last reply
        0
        • J Offline
          J Offline
          jwrieden
          wrote on last edited by
          #4

          this machine is a clone of a another machine, and on that machine,

          the only difference in the other machine is windows 7 and this one is windows 10

          we have

          VS20112, Qt 5.4.1, and Vs addin 1.2.3

          1 Reply Last reply
          0
          • J jwrieden

            hi, it tried, Qt 5.4.1, and 5.5.0

            Addin:
            qt-vs-addin-1.2.3-opensource.exe
            qt-vs-addin-1.2.5.exe

            Qt creator:

            qt-opensource-windows-x86-msvc2012-5.5.0.exe

            qt-opensource-windows-x86-msvc2012_opengl-5.4.1.exe

            qt creator opens, builds and runs

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @jwrieden
            Ok so Qt installations works and
            it seems like issue with the Actual plugin.

            As far as I can read it seems
            1.2.3 should work
            https://forum.qt.io/topic/50606/msvc-2012-with-qt-5-add-in-1-2-4-cannot-build-new-projects/2

            So I not sure what is the issue.

            You must use vs 2012 ?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jwrieden
              wrote on last edited by
              #6

              I am using Vs2012 professional:
              I get an error message:
              couldn't register all QT4VS addin commands: Object reference not set to an instance of an object. at Qt5VSaddin.AddinInit.registerCommands()

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jwrieden
                wrote on last edited by
                #7

                going to install Vs2012 update 5 now

                1 Reply Last reply
                0
                • VRoninV Offline
                  VRoninV Offline
                  VRonin
                  wrote on last edited by
                  #8

                  Why are you using 1.2.3? just download and install 1.2.5 from https://www.qt.io/download-open-source/?hsCtaTracking=f977210e-de67-475f-a32b-65cec207fd03|d62710cd-e1db-46aa-8d4d-2f1c1ffdacea#section-2

                  "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                  ~Napoleon Bonaparte

                  On a crusade to banish setIndexWidget() from the holy land of Qt

                  1 Reply Last reply
                  2
                  • J Offline
                    J Offline
                    jwrieden
                    wrote on last edited by
                    #9

                    because it works on the clone,

                    I have 2 days, trying to figure this out.

                    I have tried 1.2.3, 1.2.4 and 1.2.5.

                    tried the update nothing

                    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