×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Aug 2010
    Location
    Palestine
    Posts
    8

    Question No such file or directory BuildError

    Hi,

    I've downloaded the Qt windows offline package 2 days ago and started with some examples, and now I'm trying to build the battery example found here:
    http://doc.trolltech.com/qtcreator-2...e-example.html

    And I get this build error:
    Code:
    QSystemInfo: No such file or directory
    I've made a new Project and used QSystemInfo in the main.cpp file and it built without any error!! but using it in any other file produces the mentioned error...........whats wrong here?

  2. #2
    Registered User
    Join Date
    Apr 2009
    Posts
    32

    Re: No such file or directory BuildError

    Strange if it is working in the main.cpp then your environment is set up correctly.

    Please show us some code, where it is not working in your case.

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    4

    Thumbs up The same problem!

    When I build, and run project on QT Simator, it work fine.
    but change target to Symbian device, error happened at Build issue window:
    QtNetworkInterface: no such file or diretory. What's wrong here?

    CONFIG += Mobility
    MOBILITY += systeminfo messaging
    symbian{
    ........
    TARGET.CAPABILITY=ReadDeviceData WriteDeviceData
    .........
    }

  4. #4
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: The same problem!

    Have specified this into your .h file?

    QTM_USE_NAMESPACE

    Also tell us which version of Nokia Qt SDK are you using?
    Jajal Mehul

  5. #5
    Nokia Developer Champion
    Join Date
    Sep 2007
    Location
    Bhavnagar
    Posts
    928

    Re: The same problem!

    Quote Originally Posted by hungchuviet View Post

    QtNetworkInterface: no such file or diretory. What's wrong here?
    I think it would be QNetworkInterface not QtNetworkInterface.
    Jajal Mehul

  6. #6
    Registered User
    Join Date
    Aug 2011
    Posts
    1

    Re: No such file or directory BuildError

    Quote Originally Posted by TimsonC2000 View Post
    Strange if it is working in the main.cpp then your environment is set up correctly.

    Please show us some code, where it is not working in your case.
    here is my code
    http://www.developer.nokia.com/Commu...ample_using_Qt.
    i am also not able to get the output in the application but i am getting the output in simulator

  7. #7
    Super Contributor
    Join Date
    Nov 2003
    Location
    Bangalore , India
    Posts
    4,429

    Re: No such file or directory BuildError

    Hi kavya adiga, Welcome to Nokia Developer Discussion Boards!!

    Are you able to see the Battery indicator in the Nokia Simulator ? Does it work ? Also have you tried the same in real device ?

    Regards
    Gopal

Similar Threads

  1. libavcodec.dso: No such file: No such file or directory
    By SymbianTH in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2009-09-18, 14:02
  2. arm-none-symbianelf-ld: files\csl: no such file: no such file or directory
    By longxj in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2009-06-22, 06:15
  3. Replies: 6
    Last Post: 2009-04-22, 05:08
  4. No such file or directory
    By Anime in forum Symbian
    Replies: 3
    Last Post: 2009-03-21, 13:42

Posting Permissions

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