Results 1 to 2 of 2

Thread: Coexistence of 32- and 64-bit Qt for Windows

  1. #1
    Join Date
    Feb 2006
    Location
    US
    Posts
    173
    Thanks
    16
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Coexistence of 32- and 64-bit Qt for Windows

    Hello,

    I'm trying to determine the proper way for 32- and 64-bit versions of Qt to exist side-by-side for a Windows installation. I'd prefer the user to not have to change environment variables to reference the different versions (e.g. 32-bit DLLs in one path, 64-bit DLLs in another).

    What I've done in the past is have unique names for 32- and 64-bit libraries ... just like you have unique names for debug and release libraries ... such as:

    foo.lib, foo.dll (32-bit release)
    foo_x64.lib, foo_x64.dll (64-bit release)
    food.lib, food.dll (32-bit debug)
    foo_x64d.lib, foo_x64d.dll (64-bit release)

    When building Qt, is there a way to uniquely name the generated 32- and 64-bit libraries (e.g. like it does for the debug and release)?

    Thanks,
    Ben
    Last edited by brcain; 10th January 2012 at 20:45.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Coexistence of 32- and 64-bit Qt for Windows

    Yes. Take a look at the -qtlibinfix (or similar) switch you can pass to configure.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 6th September 2010, 14:22
  2. Replies: 3
    Last Post: 12th July 2010, 06:25
  3. Program runs on Windows 7, crashes on Windows XP
    By JovianGhost in forum General Programming
    Replies: 8
    Last Post: 7th June 2010, 00:55
  4. Windows focus / Windows Shutdown Problems
    By December in forum Qt Programming
    Replies: 6
    Last Post: 22nd October 2007, 14:10
  5. Replies: 10
    Last Post: 25th February 2007, 00:23

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
  •  
Qt is a trademark of The Qt Company.