×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2008
    Posts
    48

    Arrow regarding image viewer in S60Qt

    I am trying to install imageviewer qt sample example into S60 device .
    I am not able to load the sis file into the device.

    I have placed the images in the path C:\Data\Images which runs fine in the emulator.But for device it is not working.
    Do we need to change the path of the image for the device ?

    Information on this would be helpful

    I am attaching the mmp and package file of the same.

    MMP:
    // ==============================================================================
    // Generated by qmake (2.01a) (Qt 4.4.2-pyramid) on: 月 1 19 15:38:58 2009
    // This file is generated by qmake and should not be modified by the
    // user.
    // Name : imageviewer.mmp
    // ==============================================================================

    TARGET imageviewer.exe
    TARGETTYPE EXE

    UID 0x100039CE 0xEd026954
    SECUREID 0xEd026954

    EPOCSTACKSIZE 0x14000
    EPOCHEAPSIZE 0x020000 0x400000
    SOURCEPATH .
    START RESOURCE "imageviewer_reg.rss"
    #ifdef WINSCW
    TARGETPATH \private\10003a3f\apps
    #else
    TARGETPATH \private\10003a3f\import\apps
    #endif
    END


    // Qt Macros
    MACRO UNICODE
    MACRO QT_KEYPAD_NAVIGATION
    MACRO QT_GUI_LIB
    MACRO QT_CORE_LIB
    MACRO QT_THREAD_SUPPORT
    // Qt Export Defines

    SYSTEMINCLUDE \epoc32\include

    // These are needed for including Open C headers
    // NOTE! When part of SDK, path will differ
    SYSTEMINCLUDE \epoc32\include\stdapis
    SYSTEMINCLUDE \epoc32\include\stdapis\sys

    SYSTEMINCLUDE .
    SYSTEMINCLUDE ..\..\mkspecs\symbian-abld\tmp
    SYSTEMINCLUDE ..\..\mkspecs\symbian-abld
    SYSTEMINCLUDE ..\..\include\tmp
    SYSTEMINCLUDE ..\..\include\QtGui\tmp
    SYSTEMINCLUDE ..\..\include\QtGui
    SYSTEMINCLUDE ..\..\include\QtCore\tmp
    SYSTEMINCLUDE ..\..\include\QtCore
    SYSTEMINCLUDE ..\..\include
    SYSTEMINCLUDE tmp\moc\debug_shared\tmp
    SYSTEMINCLUDE tmp/moc/debug_shared
    SYSTEMINCLUDE \tmp

    SOURCEPATH .
    SOURCE imageviewer.cpp
    SOURCE main.cpp

    SOURCEPATH tmp/moc/debug_shared
    SOURCE moc_imageviewer.cpp


    LIBRARY QtGui.lib
    LIBRARY QtCore.lib
    LIBRARY libc.lib
    LIBRARY libm.lib
    LIBRARY euser.lib
    LIBRARY libdl.lib
    STATICLIBRARY libcrt0.lib

    CAPABILITY None

    OPTION CW -O1
    OPTION ARMCC --no_hide_all


    Package File:

    ; imageviewer_gcce_udeb.pkg generated by qmake at 月 1 19 15:38:58 2009
    ; This file is generated by qmake and should not be modified by the
    ; user.
    ;

    ; Language
    &EN

    ; SIS header: name, uid, version
    #{"imageviewer"},(0xEd026954),1,0,0

    ; Localised Vendor name
    %{"Qt Software"}

    ; Unique Vendor name
    :"Qt Software"

    ; Supports Series 60 v 3.0
    [0x101F7961], 0, 0, 0, {"S60ProductID"}

    ; Application and dlls
    "\Symbian\9.2\S60_3rd_FP1_5\\epoc32\release\gcce\udeb\imageviewer.exe" - "c:\sys\bin\imageviewer.exe"
    "\Symbian\9.2\S60_3rd_FP1_5\\epoc32\release\gcce\udeb\QtGui.dll" - "c:\sys\bin\QtGui.dll"
    "\Symbian\9.2\S60_3rd_FP1_5\\epoc32\release\gcce\udeb\QtCore.dll" - "c:\sys\bin\QtCore.dll"
    "\Symbian\9.2\S60_3rd_FP1_5\\epoc32\data\z\private\10003a3f\import\apps\imageviewer_reg.rsc" - "c:\private\10003a3f\import\apps\imageviewer_reg.rsc"






    Regards,
    Prajna

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: regarding image viewer in S60Qt

    Hi,

    In what way is it not working? You mentioned something about failing to install on the QtS60-feedback list?

    How are you placing your images in C:\Data\Images? Copying them manually? The package file you have posted doesn't copy any images to the phone.

    Sorcery

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    16

    Re: regarding image viewer in S60Qt

    It is very difficult to get your exact problem. (Try to mention exact problem)
    I hope your application is not launching on target. (Even I faced the same problem). For time being instead of jpg try to use PNG images. This should work.

    (To use jpg formats you need to use ICL lib)
    Last edited by indvin; 2009-01-27 at 13:30.

  4. #4
    Registered User
    Join Date
    Jan 2008
    Posts
    48

    Re: regarding image viewer in S60Qt

    Problem is sis file is not getting installed in the device.
    Yes I am manually copying the image to C:\Data\Images which works fine for the emulator.
    In package file I havenot given the path for images.Do I need to give the path in the package file for the images?

  5. #5
    Registered User
    Join Date
    Jan 2008
    Posts
    48

    Re: regarding image viewer in S60Qt

    While installing the sis for imageviewer qt sample code in N95 I am getting error as

    Unable to install sis.Component is built-in.

    What could be the reason for this?Information on this would be helpful.

  6. #6
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: regarding image viewer in S60Qt

    Hi,

    It's fine to copy the images manually to the phone, you don't need anything in the package file.

    Now that you've told us what the actual error is on trying to install it's quite clear what the problem is.

    You are still using Pyramid, you should upgrade to Temple. In Pyramid, the Qt dlls are packaged in each application's SIS file. In Temple, the DLLs are installed separately in their own SIS file first and then you install any number of applications that use them.

    So, you problem is either that you've already got a Qt application installed and can't install another copy of the DLLs, or you're mixing the Temple libraries SIS file and Pyramid applications.

    Either way the best solution is to go to the Qt software site and install the lastest technology preview.

    Mark

Similar Threads

  1. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  2. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  3. Image viewer app message document
    By eshlomi in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-09-04, 08:39
  4. Image viewer additional message data
    By eshlomi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-08-24, 12:52
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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