Results 1 to 7 of 7

Thread: suffix for qt dlls

  1. #1
    Join Date
    Feb 2007
    Posts
    28
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default suffix for qt dlls

    Is there an easy way to compile the qt dlls with a suffix e.g. qtcore4_x64.dll?
    I could modify all makefiles but this take a long time and could produce lots of errors.

    Or is there another way to differ between 32- and 64-bit versions of the dlls?

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

    Default Re: suffix for qt dlls

    configure -help is your friend.

  3. #3
    Join Date
    Feb 2007
    Posts
    28
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: suffix for qt dlls

    I have read the help for configure. But i couldn't find a parameter that does what i need.
    I am able to compile a 32-bit and a 64-bit version. This is no problem. But both versions have the same names.

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

    Default Re: suffix for qt dlls

    Seems you didn't read it close enough or the parameter is not available on Windows:

    -qtlibinfix <infix> Renames all libQt*.so to libQt<infix>.so.

  5. #5
    Join Date
    Feb 2007
    Posts
    28
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: suffix for qt dlls

    Under windows -qtlibinfix is not documented. I have tried it but configure gives an "unknown option -qtlibinfix"

    Any other suggestions?

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

    Default Re: suffix for qt dlls

    I think it's a relatively new option (4.4?), so it might simply be unavailable in the version you are trying. I'd like to ask you what do you need the suffix for. Why not simply install those libraries in separate directories? That you can easily do using configure's options.

  7. #7
    Join Date
    Feb 2007
    Posts
    28
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: suffix for qt dlls

    I have used Qt 4.4.0-rc1 for windows. I need the suffix to differ between 32- and 64-bit version of my project. The project is devoloped and deployed for 32- and 64-bit. At the i am using two directories. But it would be easier if i could use only one directory. It also would be nice to differ older version of the dll's. With a suffix you can directly see which version is in the directory.

Similar Threads

  1. how to add suffix to library like qtcore4_gcc.dll
    By furk in forum Installation and Deployment
    Replies: 3
    Last Post: 13th June 2007, 15:11
  2. Replies: 2
    Last Post: 22nd February 2007, 08:08
  3. Quick question regarding abstract classes and DLLs
    By durbrak in forum Qt Programming
    Replies: 1
    Last Post: 8th February 2007, 21:32
  4. Qt and dlls ?
    By probine in forum Qt Programming
    Replies: 4
    Last Post: 15th December 2006, 14:12
  5. Using dll's in QT
    By qtguy in forum Qt Programming
    Replies: 1
    Last Post: 29th June 2006, 15:11

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.