QZXing compiling error for symbian

  • Hi All,

    I am working on BarcodeScanner demo using QZXing Library in my QML project using Qt Quick . I had followed the procedure for using QZXing from here: https://projects.developer.nokia.com/QZXing/wiki . The desktop target is working fine . But when it comes for a symbian target it shows QZXing.h not found. I think there is a error in my .pro file where library is declared for symbian target.Here is the code snip set for symbian targer from my .pro file:
    LIBS += -lqzxing
    customrules.pkg_prerules =
    " "
    DEPLOYMENT += customrules
    Anyone have any idea how to do that. Thanks in advanced for your ideas.

    [edit]code wrappings added, koahnig

  • Hello, sorry for being late.

    It seems you haven't copied the binary files in the epoc32 folder of the Symbian SDK that you are using. Have you?

  • @favoritas37 thanks for the reply mate.... but i alreday had declared the binary files in the epoc32 folder of Symbian SDK. At compilation time i am getting an error of different application signature. I think that might be due to the different application signature bcz my QZXing_selfsigned.sis may be already signed and i am using self signing in my project. Can u tell me how to sign own application bcz i did a lot of googling but not able to get the right artical .

  • The QZXing_selfsigned.sis is just self-signed as it says and i have used it in a couple of my projects which were self-signed as well, so there is no problem there.

    Can you please post the exact console output you are getting?

  • Hi favoritas37 the following is compile output of my project

    ERROR: D:\QT\Symbian\SDKs\Symbian3Qt474\epoc32\data\z\sys\bin\QZXing1_patched_caps.dll is not a valid E32Image file.
    ERROR: D:\QT\Symbian\SDKs\Symbian3Qt474\epoc32\data\z\sys\bin\QZXing1_patched_caps.dll is not a valid E32Image file.

    15:10:37: Installation failed: 'An invalid target file specification was found in a SIS file.' Code: 131073; see http://wiki.forum.nokia.com/index.php/Symbian_OS_Error_Codes for descriptions of the error codes
    Error while building project QMLBarCodeScannerDemo (target: Symbian Device)
    When executing build step 'Deploy'

  • First thing, have you seen my post to your "other thread":http://qt-project.org/forums/viewthread/17391/?

    Also if you are targeting Symbian Belle i would suggest you update through Qt Creator packet manager to get the Symbian Belle toolchain (i will guest you have Symbian Anna toolchain).

    Next be sure to copy the correct binary version of QZXing to the correct folder.

    Finally the most important thing, donwload the latest version of the library files. I just figured out from your other post that you have downloaded the library from a repository that is outdated (https://github.com/zxing/zxing). The correct repositories you have to take a look at are:

    (The first option is recommended since you won't have to download other unnecessary files. )

    So do all the updates, try it once again and get back to us with the result.

Log in to reply

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