Results 1 to 5 of 5

Thread: [s60] file 'string' cannot be opened

  1. #1
    Join Date
    Jun 2009
    Posts
    25
    Thanks
    1

    Default [s60] file 'string' cannot be opened

    I have instaled 4.5.2-tower, added new sources to PATH and set path to tower in carbide. I create new project and add one button but during compilation :
    Qt Code:
    1. c:\Qt\4.5.2-tower\src\corelib\tools\qstring.h:60: the file 'string' cannot be opened
    To copy to clipboard, switch view to plain text mode 
    and after this there are many many errors connected with qstring.h. Do you have some explenation?

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: [s60] file 'string' cannot be opened

    so may be the error comes when #include<string> is encountered by the compiler.. may be the include path is not set properly

  3. #3
    Join Date
    Jun 2009
    Posts
    25
    Thanks
    1

    Default Re: [s60] file 'string' cannot be opened

    I think it is propoerty because is set the same as in tutorial from qt software. Any idea??
    This is text from console from compilation: http://pastebin.com/f16e1e6a2 "the file 'string' cannot be opened" is at line 72

  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: [s60] file 'string' cannot be opened

    Do you have the "string" file in your compiler's installation tree?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2009
    Posts
    25
    Thanks
    1

    Default Re: [s60] file 'string' cannot be opened

    I uninstalled everything what was connected with Qt and installed it again and now is ok. Before that I had used everything what I had faund in internet and some advice from nokia forum and it didn't help.

Similar Threads

  1. How to define a string marco in pro file
    By jevonwang in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 6th May 2013, 05:49
  2. Replies: 1
    Last Post: 9th May 2008, 14:49
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. How to search a string in xml file with Qt Dom classes
    By doganay44 in forum Qt Programming
    Replies: 2
    Last Post: 5th October 2006, 20:16
  5. Replies: 1
    Last Post: 21st September 2006, 10:37

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.