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. when I create a QT project in visual studio 2012, it report the error with "object reference not set to an instance of an object"
Forum Update on Monday, May 27th 2025

when I create a QT project in visual studio 2012, it report the error with "object reference not set to an instance of an object"

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.4k 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.
  • K Offline
    K Offline
    kkkkkkkkks
    wrote on 6 Sept 2015, 06:50 last edited by
    #1

    the visual studio is vs2012 X64
    the qt version is qt5.5.0
    the qt vs addin is 1.1.11
    and i have already set the path with the qt creator directory.
    Could anyone to help me to check this problem.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AnantAgrawal
      wrote on 6 Sept 2015, 20:17 last edited by AnantAgrawal 9 Jul 2015, 03:36
      #2

      Hi there,

      Is this problem occurring while create a fresh Qt application or while executing your modified application? If you have modified the code, please share the code to analyse the issue. It looks to me like some object creation/initialization issue. Check if you have allocated memory for all objects and their members properly.

      Thanks,
      Anant Agrawal

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kkkkkkkkks
        wrote on 7 Sept 2015, 00:58 last edited by
        #3

        @AnantAgrawal said:

        whether

        The problem is occurred when i create a fresh Qt application.

        1 Reply Last reply
        0
        • N Offline
          N Offline
          N.Sumi
          wrote on 7 Sept 2015, 14:01 last edited by N.Sumi 9 Jul 2015, 14:02
          #4

          Hi kkkkkkkkks,
          check the path, whether it is set to right path of Qt(check version number also) or not, to the MVS add-in. If not , set it MVSC Menu-> QT->Qt options->check the Qt version number. Be sure, whether its is saved or not.

          And finally, Right click on the project(solution Explorer )-> Qt project settings ->select the version that you have entered in the Add-in.

          1 Reply Last reply
          1

          3/4

          7 Sept 2015, 00:58

          • Login

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