Results 1 to 10 of 10

Thread: Q_init_resource

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2007
    Posts
    201
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    19
    Thanked 1 Time in 1 Post

    Default Re: Initialising resource

    Quote Originally Posted by sonuani View Post
    Where r u adding ur Q_INIT_RESOURCE??
    The structure is like this.

    Projece
    |----|-.cpp file
    | |-.qrc file, qss files
    | |-.h file (This module is dll)
    |
    |
    |----|-.cpp file. here ive put Q_INIT_RESOURCE inside main() . and this module is exe.
    | |-.h file

    Am i right?
    Cheers,
    Phillip



    --- Please post the solution you got to solve your problem. It may help others.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Q_init_resource

    { Two threads merged }

    Please, do not start new threads on the same problem.

    Move the Q_INIT_RESOURCE() to somewhere in the DLL project.
    J-P Nurmi

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.