×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Nokia Qt SDK: Qt Creator and Resources?

    I tried to make an app with a background image. I can see how I can define the background with the stylesheet tool (changing the background color is ok, thank you) but...

    In order to use a background image, the image apparently has to be specified as a Resource. In the Qt Designer doc it says that in order to add resources to your project, you must enable the Resource browser in the tools menu. Call me blind, but I can see no such option on the tools menu?

    Any suggestions?

    Håkan

  2. #2
    Registered User
    Join Date
    Mar 2010
    Posts
    39

    Re: Nokia Qt SDK: Qt Creator and Resources?

    You can add a resource file in the New File menu, File>>New or Ctrl+N then select Qt resource file in the Qt category.
    You can also create a resource file manually, with the format specified in this link: http://doc.trolltech.com/4.6/resources.html

  3. #3
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Nokia Qt SDK: Qt Creator and Resources?

    In order to use a background image, the image apparently has to be specified as a Resource. In the Qt Designer doc it says that in order to add resources to your project, you must enable the Resource browser in the tools menu.
    You can see this article in which full path is given for the image storage, and you can resize your image according to your need.
    http://wiki.forum.nokia.com/index.ph...ication/widget

    Best regards,

Similar Threads

  1. Qt Creator code completion not working with Qt Mobility for Symbian
    By ceefour in forum [Archived] Qt Mobility Project
    Replies: 4
    Last Post: 2011-09-10, 05:02
  2. Replies: 3
    Last Post: 2010-06-30, 01:17
  3. QT Nokia sdk installation and QT Creator config problem
    By kapiluiet in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2010-06-02, 13:49
  4. S60_5th_Edition_SDK_v1_0 + Qt creator 2.0 + qt-symbian-opensource-4.7.0-beta1配置问题?
    By fish_of_deadsea in forum [Archived] Qt General ( Qt技术)
    Replies: 0
    Last Post: 2010-05-30, 06:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×