Results 1 to 3 of 3

Thread: Qt add in Visual Studio 2010 problem

  1. #1
    Join Date
    Mar 2011
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Angry Qt add in Visual Studio 2010 problem

    I had problem executing debug target of qt application, they didn work but they compile correctly on VS 2010

    So I compile the source of qt framework and now they works but. qt add in is not working anymore.

    it says "default qt version not found" and if I try to edit qt project option it says "object reference is not an istance of an object"

    Is there any way to solve it? maybe I can compile add-in again?

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt add in Visual Studio 2010 problem

    You need to add the Qt version (with correct path) to the VS Add-in, i assume you already did this... (if not from the menu select Qt, then Qt Options from Qt Versions remove the old entries and add the correct path with name)
    and then right-click the ProjectName (from Solution Explorer) click the Qt project Settings and select the version name (as you entered in the Add-in)

    //this is because vs is searching for old version of Qt, so you need to update the old project files

  3. #3
    Join Date
    Jan 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt add in Visual Studio 2010 problem

    Hey guys,

    I have a similar problem.
    I added the qt-version in the qt-addin and have also set the qt-projectsettings for my project. but unfortunately, visual studio dont save these settings. I press the "ok"-button to close the qtproject-settings and when I re-open the qtproject-settings, the qt-version isnt set.
    I have qt-version 4.7.4, ms visual studio 2010 ultimate and tried the qt-integration with the vs-addins 1.1.7, 1.1.8, 1.1.9. and 1.1.10.

    Thanks for your help

    Snouty
    Last edited by Snouty; 18th January 2012 at 14:45.

Similar Threads

  1. Qt and Visual Studio 2010
    By SixDegrees in forum Qt Programming
    Replies: 6
    Last Post: 15th November 2010, 19:56
  2. Visual Studio Plugin (1.1.6) crashes Visual Studio (2010)
    By mboeni in forum Installation and Deployment
    Replies: 0
    Last Post: 11th October 2010, 16:46
  3. How to Qt4.7 Source with Visual Studio 2010
    By Aenima1981 in forum Installation and Deployment
    Replies: 0
    Last Post: 1st October 2010, 14:00
  4. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  5. problem building 2009.3.1 with visual studio 2010 beta
    By majestik666 in forum Installation and Deployment
    Replies: 2
    Last Post: 25th September 2009, 04:13

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.