[Qt-interest] Qt Visual Studio Add-in for VS2010?

Oliver Wolff oliver.wolff at nokia.com
Fri Jul 9 09:37:58 CEST 2010


Am 7/8/2010 9:26 AM, schrieb ext Scott Aron Bloom:
>> -----Original Message-----
>> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
>> bounces at trolltech.com] On Behalf Of David Ching
>> Sent: Thursday, July 08, 2010 12:00 AM
>> To: qt-interest at trolltech.com
>> Subject: Re: [Qt-interest] Qt Visual Studio Add-in for VS2010?
>>
>> "Scott Aron Bloom"<Scott.Bloom at onshorecs.com>  wrote in message
>> news:7DB34253D57D2B47AEB656218FE6AAEF172306 at onshorecs.com...
>>> Though I still don't understand why Nokia/TT can release source
> code,
>>> that they own and wrote, under a license that they could find to
>>> integrate the designer into VS.
>>>
>>
>> I have heard (but do not know for sure) the story is they licensed the
>> VS
>> Integration (with the designer) from a 3rd party and paid per copy
>> royalties.  This is why it could only be distributed to Commercial
>> customers, and not GPL/LPGL ones.
>>
>> -- David
> Well that would make sense...
>
> So.. a question for the add in for 2008 (and probably 2005) v1.1.5 that
> I just downloaded.
>
> Here are my problems.. all of these did not exist in the VS Integration
>
> 1) I go to add a .ui file from the file system, and I get the "A custom
> build rule to build files with extension ".ui" could not be found...
> 2) I used to be able to "export pri file" from the Qt tools menu.  Its
> currently disabled.  What does it look for to mark it as a Qt project?
> The project was generated with qmake, and works fine otherwise
> 3) I used to be able to "File->New" and have a bunch of "Qt" files I
> could create.  I see the templates in the VS PlugIn area, but not
> anywhere in the tool.
> 4) I added a .h file with Q_OBJECT in a QObject derived class, and the
> moc_XXX.cpp files were not added.  I do have set the
> disable_auto_MOC_steps_update to false, which should mean its not
> disabled correct?
>
> Any help or ideas would be most appreciated.
>
> Scott
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest

Hi,

1) We have not found a message to get around this warning. Just click 
"No" and ignore the dialog.
2) In order to be able to perform the actions given in the Add-In, the 
project has to have several settings, which are made by the Add-In. In 
order to set these, just choose "Convert to Qt Add-In project" from the 
project's context menu. This should enable the entries.
3) Qt classes can now be added by: Project context menu-> Add -> 
Class... -> Visual C++ -> Class
The other items can be found in Project context menu-> Add -> New 
Item... -> Qt Forms/Resources.
4) These automatic steps will be done as soon as the project is 
converted to an Add-In project.

Cheers
Olli

-- 
Olli




More information about the Qt-interest-old mailing list