Results 1 to 6 of 6

Thread: qmake and image collections

  1. #1
    Join Date
    Jul 2006
    Location
    Cagliari - Sardinia - Italy
    Posts
    26
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default qmake and image collections

    Hi all,
    I'm not sure that is the correct section where to post my question... but...
    Is there a way (some parameter in project file I think) to control the generation of the qmake_image_collection.cpp? I want to assigne a different name because I have two project in the same directory ad the qmake_image_collection.cpp is genereted only for the first one! (the first compiled with make...)

    Yes, I can edit make file manually... but if I can do this automatically it's better

    Thanks...

  2. #2
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qmake and image collections

    I generally don't use qmake_image_collection.cpp files. Instead I use resources. You can have many resource files.

  3. #3
    Join Date
    Jul 2006
    Location
    Cagliari - Sardinia - Italy
    Posts
    26
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: qmake and image collections

    I've forgotten to say that I'm using Linux... I knew that resource file are used only under Win, isn't it? Is it possible to use them under Linux too? If yes how to?
    Thanks...

  4. #4
    Join Date
    Oct 2006
    Location
    Warsaw, Poland
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11

    Default Re: qmake and image collections

    Hi!

    Quote Originally Posted by villy View Post
    I've forgotten to say that I'm using Linux... I knew that resource file are used only under Win, isn't it? Is it possible to use them under Linux too? If yes how to?
    Thanks...
    sure you can use resources under linux: http://doc.trolltech.com/4.1/resources.html it works for me without problems.

    have fun

    PS. sorry for my english...

    Regards,
    Przemek

  5. #5
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qmake and image collections

    Resources can be used on all platforms. They are compiled into the executable in exactly the same way qt3 images were.

  6. #6
    Join Date
    Jul 2006
    Location
    Cagliari - Sardinia - Italy
    Posts
    26
    Thanks
    1
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: qmake and image collections

    thanks to all

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.