Results 1 to 4 of 4

Thread: QFile::exists(":/images/temp.xsl") returns False?

  1. #1
    Join Date
    Feb 2013
    Posts
    31
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QFile::exists(":/images/temp.xsl") returns False?

    Hi, Mighty All,
    One strange question more...
    I've placed xsl file into qt resource and tried to check if it exists?
    Debug version of my program tells, yes it exists!
    But release version of my program return FALSE!

    May anybody say me how it may be?
    Qt 4.8.x OS Windows XP (32 bit), Ubuntu 13.10 (32 bit)
    Yours,
    Radmir

  2. #2
    Join Date
    Feb 2013
    Posts
    31
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QFile::exists(":/images/temp.xsl") returns False?

    One time more, helps departing resourse on two, the capacity of release version is less...
    Stupid, but so it is.
    Radmir

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: QFile::exists(":/images/temp.xsl") returns False?

    One time more, helps departing resourse on two, the capacity of release version is less...
    Not one of Google Translate's better days.

    I have no idea what this is supposed to mean.

  4. #4
    Join Date
    Mar 2011
    Location
    Coimbatore,TamilNadu,India
    Posts
    382
    Thanks
    10
    Thanked 13 Times in 12 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QFile::exists(":/images/temp.xsl") returns False?

    Try building statically. So that you could be able to use all resources in release mode also. bol

Similar Threads

  1. Replies: 3
    Last Post: 5th November 2013, 18:48
  2. Replies: 3
    Last Post: 25th August 2009, 13:03
  3. QLocale::system().name() returns "C" instead of "de"
    By momesana in forum Qt Programming
    Replies: 1
    Last Post: 18th February 2008, 14:59
  4. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05
  5. QFile Problem~ "Unknow error" in "open(QIODevice::ReadWrite)"
    By fengtian.we in forum Qt Programming
    Replies: 3
    Last Post: 23rd May 2007, 15:58

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.