ERROR in publishing /creating sis files in Qt creator....pls help am a beginner[SOLVED]



  • hi
    i have wriiten code for dat battery indicator program as in the tutorial...its compiling and working in the simulator but i cannot create a sis file

    its the follwin error while publishing it

    In file included from e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/epoc32/include/mw/QSystemDeviceInfo:1,
    from C:/Users/Muralidhar/sample/moc/../mainwindow.h:3,
    from C:/Users/Muralidhar/sample/moc/moc_mainwindow.cpp:10:
    e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/epoc32/include/mw/qsystemdeviceinfo.h:45: fatal error: QObject: No such file or directory
    compilation terminated.

    compile : main.cpp [arm.v5.udeb.gcce4_4_1]
    In file included from e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/epoc32/include/mw/QSystemDeviceInfo:1,
    from C:/Users/Muralidhar/sample/mainwindow.h:3,
    from C:/Users/Muralidhar/sample/main.cpp:1:
    e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/epoc32/include/mw/qsystemdeviceinfo.h:45: fatal error: QObject: No such file or directory
    compilation terminated.

    compile : mainwindow.cpp [arm.v5.udeb.gcce4_4_1]
    In file included from e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/epoc32/include/mw/QSystemDeviceInfo:1,
    from C:/Users/Muralidhar/sample/mainwindow.h:3,
    from C:/Users/Muralidhar/sample/mainwindow.cpp:1:
    e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/epoc32/include/mw/qsystemdeviceinfo.h:45: fatal error: QObject: No such file or directory
    compilation terminated.

    pls help i am totally a beginner
    thanks in advance



  • In your case, the QObject header file should be located in e:/QtSDK1/Symbian/SDKs/Symbian3Qt473/include/QtCore
    Is there a file named "QObject" there?

    If yes, check SYSTEMINCLUDE paths in your generated .mmp file (should be in your project directory). Is the path above included?



  • no the path is not included. so do i have to paste that path there?



  • i pasted that path in the sample_exe.mmp file but still the same error props up
    pls help



  • could you try putting your project to E: drive?



  • yea it worked ......thanks a lot
    but i hav another problem the application when opened in my X6(s60v5) the phone just restarts...........but the code worked all right on the simulator



  • I think you should use Symbian1Qt473 for X6. You might also want to update Qt on your device by the sis files in \QtSDK\Symbian\sis\Symbian^1\Qt\4.7.3



  • yeah i installed all that.... seems font router made all that trouble..



  • but still the same problem phone restarts even after uninstalling font router





  • yeah i disabled font router and it works now .thanks!



  • good to know that it works now. could you mark the thread title with [SOLVED]?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.