On Tue, Jun 2, 2009 at 5:33 AM, Joerg Bornemann
<[email protected]>wrote:

> ext Lucas Artias wrote:
>
>> I am working on a project that is compiled for both WIN32 and x64. The
>> Visual Studio add-in doesn't handle this very well. First, each time I
>> change the VS architecture I have to go and change the Qt  Project Settings
>> to point to the correct version of Qt. Then I get warning about not being
>> able to find a version of Qt for the target architecture.
>>
>> What would be really nice is making the Qt settings architecture specific
>> instead of project specific.
>>
>
> Are you using the latest version of the add-in?
>

I am using version 1.0, is there a newer version?


> The Qt version (aka Qt build) is tied to the platform, so to develop an
> application for Win32 and x64 the workflow is something this:
>
> - setup both Qt build directories in the Qt settings
> - create or import a project for Win32 (or x64, dependending on your
> default Qt version)
> - select the x64 Qt version (or Win32)
>
> Now you have both platforms, Win32 and x64 in your VC project. You can now
> just switch between the platforms to compile for either x64 or Win32.
>

That does not seem to work for me. Project file ends up with the following
Qt globals:

    <Globals>
        <Global
            Name="QtVersion"
            Value="4.5.1-x64"
        />
        <Global
            Name="QtVersion Win32"
            Value="4.5.1-x86"
        />
        <Global
            Name="QtVersion x64"
            Value="4.5.1-x64"
        />
    </Globals>

Does this look correct? I ask because I have to change both the VS platform
drop down and the Qt->Qt Project Settings in order to change platform.

Thanks,
Lucas
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to