×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    275

    unable to config Qt for S60

    Do you accept the terms of the license?
    y
    Environment:
    INCLUDE=
    Unset
    LIB=
    Unset
    PATH=
    D:\Program Files\Nokia\Carbide.c++ v2.0\x86Build\Symbian_Tools\Command_Lin
    e_Tools
    D:\Program Files\ARM\bin\win_32-pentium
    D:\Program Files\ARM\RVD\Core\1.8\734\win_32-pentium\bin
    D:\Program Files\Common Files\Symbian\Tools
    D:\Program Files\PC Connectivity Solution\
    D:\Program Files\CSL Arm Toolchain\bin
    D:\Perl\bin
    D:\WINDOWS\system32
    D:\WINDOWS
    D:\WINDOWS\System32\Wbem
    D:\Program Files\ARM\Utilities\FLEXlm\9.2\release\win_32-pentium
    D:\Program Files\ARM\RVCT\Programs\2.2\349\win_32-pentium
    D:\Qt\qt-embedded-s60-commercial-src-4.4.4-temple\bin
    D:\Program Files\HookLogger\

    Licensee....................
    License ID..................
    Product license.............Preview Edition
    Expiry Date.................

    Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    symbian-config
    build_all
    debug
    cross_compile
    Qt Configuration:
    release
    debug
    zlib
    png
    ipv6
    svg

    QMAKESPEC...................symbian-abld (commandline)
    Architecture................symbian
    Maketool....................make
    Debug symbols...............yes
    Accessibility support.......no
    STL support.................no
    Exception support...........no
    RTTI support................no
    MMX support.................no
    3DNOW support...............no
    SSE support.................no
    SSE2 support................no
    IWMMXT support..............no
    OpenGL support..............no
    Direct3D support............no
    OpenSSL support.............no
    QtDBus support..............no
    QtXmlPatterns support.......no
    Phonon support..............no
    WebKit support..............no
    Qt3 compatibility...........no

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............no
    Windows Vista...........no
    Plastique...............no
    Cleanlooks..............no
    Motif...................no
    CDE.....................no
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............D:\Qt\qt-embedded-s60-commercial-src-4.4.4-temple
    Build is done in............D:\Qt\qt-embedded-s60-commercial-src-4.4.4-temple
    Install prefix..............
    Headers installed to........
    Libraries installed to......
    Plugins installed to........\resource\qt\plugins
    Binaries installed to.......
    Docs installed to...........
    Data installed to...........
    Translations installed to...
    Examples installed to.......
    Demos installed to..........

    Running syncqt...
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercial
    -src-4.4.4-temple\bin/syncqt line 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\qt-embedded-s60-commercia
    l-src-4.4.4-temple\bin/syncqt line 728.
    Creating qmake...
    make: Makefile: line 7: Error -- Expecting macro or rule defn, found neither
    make: Makefile: line 7: Error -- Expecting macro or rule defn, found neither
    Cleaning qmake failed, return code 255

  2. #2
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: unable to config Qt for S60

    Haven't run into this, will ask around.

    my path that I had no problems with is Path=C:\Qt\4.4.4-temple\bin;C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\Nokia\Carbide.c++ v2.0\x86Build\Symbian_Tools\Command_Line_Tools;c:\apps\actperl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Intel\Wireless\Bin;C:\Qt\qt-s60-4.4.4\bin;\Symbian\9.2\S60_3rd_FP1\epoc32\tools;\Symbian\9.2\S60_3rd_FP1\epoc32\gcc\bin;C:\Program Files\Rational\common;C:\MinGW\bin;C:\Qt\4.4.0\bin

    When quickly diffing these the one difference I found might be that you don't have epoc32\tools or epoc32\gcc\bin in your path:
    \Symbian\9.2\S60_3rd_FP1\epoc32\tools;\Symbian\9.2\S60_3rd_FP1\epoc32\gcc\bin;

    Can you try it out?

    Thanks,
    Jack
    Last edited by Jack Torrance; 2008-12-18 at 14:51. Reason: typo

  3. #3
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: unable to config Qt for S60

    Hi,

    I've had similar problems when I extracted Qt using the default folder name - in my case, C:\Qt\qt-embedded-s60-commercial-src-4.4.4-temple. Try renaming it to \Qt\4.4.4-temple, check that your PATH is set up correctly (compare to Mr. Torrance's env), then reconfigure.

  4. #4
    Registered User
    Join Date
    Jul 2008
    Posts
    275

    Re: unable to config Qt for S60

    Thank you guys but it doesn't work
    -----------------------------------------------
    D:\Qt\4.4.4-temple>configure -platform win32-mwc -xplatform symbian-abld -qconfi
    g symbian

    This is the Qt for S60 Preview Edition.

    You are licensed to use this software under the terms of
    the TECHNOLOGY PREVIEW LICENSE AGREEMENT.

    Type '?' to view the TECHNOLOGY PREVIEW LICENSE AGREEMENT.
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do you accept the terms of the license?
    y
    Environment:
    INCLUDE=
    Unset
    LIB=
    Unset
    PATH=
    D:\Program Files\Nokia\Carbide.c++ v2.0\x86Build\Symbian_Tools\Command_Lin
    e_Tools
    D:\Program Files\ARM\bin\win_32-pentium
    D:\Program Files\ARM\RVD\Core\1.8\734\win_32-pentium\bin
    D:\Program Files\Common Files\Symbian\Tools
    D:\Program Files\PC Connectivity Solution\
    D:\Program Files\CSL Arm Toolchain\bin
    D:\Perl\bin
    D:\WINDOWS\system32
    D:\WINDOWS
    D:\WINDOWS\System32\Wbem
    D:\Program Files\ARM\Utilities\FLEXlm\9.2\release\win_32-pentium
    D:\Program Files\ARM\RVCT\Programs\2.2\349\win_32-pentium
    D:\Qt\4.4.4-temple\bin
    D:\Symbian\9.2\S60_3rd_FP1\Epoc32\tools
    D:\Symbian\9.2\S60_3rd_FP1\Epoc32\gcc\bin
    D:\Program Files\HookLogger\

    Licensee....................
    License ID..................
    Product license.............Preview Edition
    Expiry Date.................

    Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    symbian-config
    build_all
    debug
    cross_compile
    Qt Configuration:
    release
    debug
    zlib
    png
    ipv6
    svg

    QMAKESPEC...................symbian-abld (commandline)
    Architecture................symbian
    Maketool....................make
    Debug symbols...............yes
    Accessibility support.......no
    STL support.................no
    Exception support...........no
    RTTI support................no
    MMX support.................no
    3DNOW support...............no
    SSE support.................no
    SSE2 support................no
    IWMMXT support..............no
    OpenGL support..............no
    Direct3D support............no
    OpenSSL support.............no
    QtDBus support..............no
    QtXmlPatterns support.......no
    Phonon support..............no
    WebKit support..............no
    Qt3 compatibility...........no

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............no
    Windows Vista...........no
    Plastique...............no
    Cleanlooks..............no
    Motif...................no
    CDE.....................no
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............D:\Qt\4.4.4-temple
    Build is done in............D:\Qt\4.4.4-temple
    Install prefix..............
    Headers installed to........
    Libraries installed to......
    Plugins installed to........\resource\qt\plugins
    Binaries installed to.......
    Docs installed to...........
    Data installed to...........
    Translations installed to...
    Examples installed to.......
    Demos installed to..........

    Running syncqt...
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    readdir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt li
    ne 724.
    closedir() attempted on invalid dirhandle DIR at D:\Qt\4.4.4-temple\bin/syncqt l
    ine 728.
    Creating qmake...
    make: Makefile: line 7: Error -- Expecting macro or rule defn, found neither
    make: Makefile: line 7: Error -- Expecting macro or rule defn, found neither
    Cleaning qmake failed, return code 255

  5. #5
    Regular Contributor
    Join Date
    May 2007
    Posts
    468

    Re: unable to config Qt for S60

    If you have checked the path then the only main difference between your and my setup is that you're configuring the environment on D: drive and I did it on C: drive.

    Can you test it out if it would happen to make a difference?

    Cheers,
    Jack

  6. #6
    Registered User
    Join Date
    Jul 2008
    Posts
    275

    Re: unable to config Qt for S60

    Thank you Mr.Torrance
    Unfortunately my Symbian SDK/Qt/Carbide... are all installed on Drive Dwindows xp sp2) and Drive C: is windows vista
    I cannot run the risk of changing the Drive Letter to test...

  7. #7
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Unhappy Re: unable to config Qt for S60

    qt temple wont compile on vista on d: or c: due to path constraints
    The only thing that compiles is qmake.

    pyramid had none of the problems

    PHP Code:
    C:\Qt\4.4.4-temple>configure -platform win32-mwc -xplatform symbian-abld -qconfig symbian

    This is the Qt 
    for S60 Preview Edition.

    You are licensed to use this software under the terms of
    the TECHNOLOGY PREVIEW LICENSE AGREEMENT
    .

    Type '?' to view the TECHNOLOGY PREVIEW LICENSE AGREEMENT.
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do 
    you accept the terms of the license?
    y
    Environment
    :
        INCLUDE=
          Unset
        
    LIB=
          Unset
        
    PATH=
          
    C:\QT\4.4.4-temple\BIN
          C
    :\Program Files\Common Files\Symbian\Tools
          C
    :\Apps\Nokia\Carbide.c++ v1.3\x86Build\Symbian_Tools\Command_Line_Tools
          C
    :\Program Files\PC Connectivity Solution\
          
    D:\Perl\bin\
          
    C:\Windows\system32
          C
    :\Windows
          C
    :\Windows\System32\Wbem
          C
    :\Program Files\ATI Technologies\ATI.ACE\Core-Static
          
    C:\Program Files\Microsoft SQL Server\90\Tools\binn\
          
    C:\Program Files\CSL Arm Toolchain\bin
          D
    :\Perl\bin

    Licensee
    ....................
    License ID..................
    Product license.............Preview Edition
    Expiry Date
    .................

    Configuration:
        
    dist-config
        large
    -config
        medium
    -config
        minimal
    -config
        small
    -config
        symbian
    -config
        build_all
        debug
        cross_compile
    Qt Configuration
    :
        
    release
        debug
        zlib
        png
        ipv6
        svg

    QMAKESPEC
    ...................symbian-abld (commandline)
    Architecture................symbian
    Maketool
    ....................make
    Debug symbols
    ...............yes
    Accessibility support
    .......no
    STL support
    .................no
    Exception support
    ...........no
    RTTI support
    ................no
    MMX support
    .................no
    3DNOW support
    ...............no
    SSE support
    .................no
    SSE2 support
    ................no
    IWMMXT support
    ..............no
    OpenGL support
    ..............no
    Direct3D support
    ............no
    OpenSSL support
    .............no
    QtDBus support
    ..............no
    QtXmlPatterns support
    .......no
    Phonon support
    ..............no
    WebKit support
    ..............no
    Qt3 compatibility
    ...........no

    Third Party Libraries
    :
        
    ZLIB support............qt
        GIF support
    .............plugin
        TIFF support
    ............plugin
        JPEG support
    ............plugin
        PNG support
    .............qt
        MNG support
    .............plugin

    Styles
    :
        
    Windows.................yes
        Windows XP
    ..............no
        Windows Vista
    ...........no
        Plastique
    ...............no
        Cleanlooks
    ..............no
        Motif
    ...................no
        CDE
    .....................no
        Windows CE
    ..............no
        Windows Mobile
    ..........no

    Sql Drivers
    :
        
    ODBC....................no
        MySQL
    ...................no
        OCI
    .....................no
        PostgreSQL
    ..............no
        TDS
    .....................no
        DB2
    .....................no
        SQLite
    ..................plugin (qt)
        
    SQLite2.................no
        InterBase
    ...............no

    Sources are in
    ..............C:\Qt\4.4.4-temple
    Build is done in
    ............C:\Qt\4.4.4-temple
    Install prefix
    ..............
    Headers installed to........
    Libraries installed to......
    Plugins installed to........\resource\qt\plugins
    Binaries installed to
    .......
    Docs installed to...........
    Data installed to...........
    Translations installed to...
    Examples installed to.......
    Demos installed to..........

    Running syncqt...
    Creating qmake...
    [...]:(
    ratorimpl.o qxmlstream.o qxmlutils.-ladvapi32.lib
    copy qmake
    .exe C:\Qt\4.4.4-temple\bin\qmake.exe
            1 file
    (scopied.
    Creating makefiles in src...
    Generating Makefiles...
    executeUnknown error
       
    (-spec)
       (
    symbian-abld)
       (-
    r)
       (
    C:/Qt/4.4.4-temple/projects.pro)
       (-
    o)
       (
    C:/Qt/4.4.4-temple)
    Qmake failed, return code -
    C:\Qt\4.4.4-temple>

    Yes its an "Unkown error"

    I have removed ALL version of Carbide and Qt temple and re-installed TWICE still same error.

    In simple terms "pyramid" compiles, builds, no-errors.
    Temple does not. I believe this is due to failure to find paths.
    NOTE:- how I have had to add "C:\QT\4.4.4-temple\BIN" to front of path to get anything to work!!. This is well known vista problem and Symbian have produced patches for this.
    see http://wiki.forum.nokia.com/index.ph..._Windows_Vista

    In SUmmary pyramid does NOT have a problem Temple as shown above does have problems
    UPDATE --- VISTA FIX for temple cmd batch file
    @
    PHP Code:
    echo off
    rem patch vista GCCE COMPILE PATH
    SET PATH
    =C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\CSL Arm Toolchain\arm-

    none-symbianelf\bin;C:\Program Files\CSL Arm Toolchain\libexec\gcc\arm-none-

    symbianelf\3.4.3;C:\Program Files\Common Files\Symbian\tools;%PATH%
    rem qt vista patch
    PATH
    =%PATH%c:\Qt\4.4.4-temple\bin;c:\Qt\4.4.4-temple;c:\Qt\4.4.3\bin 
    Now this compiles for a while then fails see next post due to lack of space
    Jim
    Last edited by jimgilmour1; 2008-12-22 at 10:10. Reason: found patch for vista more errrors in temple version

  8. #8
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Unhappy Re: unable to config Qt for S60

    ...continued from previous post.
    I have run the vista environment patches described in previous post and now get

    PHP Code:
    Creating qmake...
    [..........]
    ratorimpl.o qxmlstream.o qxmlutils.-ladvapi32.lib
    copy qmake
    .exe C:\Qt\4.4.4-temple\examples\bin\qmake.exe
            1 file
    (scopied.
    Creating makefiles in src...
    Generating Makefiles...
    [......]
    c:\Qt\4.4.4-
    temple\src\tools\moc\moc.cpp
    ### mwccsym2 Compiler:
    #      In: ..\..\..\include\QtCore\private\qmetaobject_p.h
    #    From: C:\Qt\4.4.4-temple\src\tools\moc\moc.cpp
    # -------------------------------------------------
    #       1: #include "../../../../../src/corelib/kernel/qmetaobject_p.h"
    #   Error:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    #   the file '../../../../../src/corelib/kernel/qmetaobject_p.h' cannot be opened
    ### mwccsym2 Compiler:
    #    File: C:\Qt\4.4.4-temple\src\tools\moc\moc.cpp
    # -------------------------------------------------
    #      71:         result = normalizeTypeInternal(buf, d, fixScope);
    #   Error:                                                        ^
    #   undefined identifier 'normalizeTypeInternal'

    Errors caused tool to abort.
    make.exe[1]: *** [release/moc.oError 1
    make
    .exe[1]: Leaving directory `C:/Qt/4.4.4-temple/examples/src/tools/moc'
    C:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\tools\make.exe: *** [release] Error
     2
    Creating src/tools/rcc ...
    C:/S60/devices/S60_5th_Edition_SDK_v0.9/epoc32/tools/make.exe -f Makefile.Release
    make.exe[1]: Entering directory 
    `C:/Qt/4.4.4-temple/examples/src/tools/rcc'
    mwc" -o t
    mp\obj\release_shared\qbuffer.o c:\Qt\4.4.4-temple\src\corelib\io\qbuffer.cpp
    ### mwccsym2 Compiler:
    #      In: ..\..\..\include\QtCore\private\qiodevice_p.h
    #    From: C:\Qt\4.4.4-temple\src\corelib\io\qbuffer.cpp
    # ------------------------------------------------------
    #       1: #include "../../../../../src/corelib/io/qiodevice_p.h"
    #   Error:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    #   the file '
    ../../../../../src/corelib/io/qiodevice_p.h' cannot be opened
    ### mwccsym2 Compiler:
    #    File: C:\Qt\4.4.4-temple\src\corelib\io\qbuffer.cpp
    # ------------------------------------------------------
    #      43: class QBufferPrivate : public QIODevicePrivate
    #   Error:                               ^^^^^^^^^^^^^^^^
    #   illegal use of incomplete struct/union/class '
    QIODevicePrivate'
    ### mwccsym2 Compiler:
    #     135:     : QIODevice(*new QBufferPrivate)
    #   Error:                                    ^
    #   function call '
    [QIODevice].QIODevice({lvalQBufferPrivate)' does not match
    #   '
    QIODevice::QIODevice()'
    #   '
    QIODevice::QIODevice(QIODevicePrivate &)'
    #   '
    QIODevice::QIODevice(const QIODevice &)'
    ### mwccsym2 Compiler:
    #     142:     : QIODevice(*new QBufferPrivate)
    #   Error:                                    ^
    #   function call '
    [QIODevice].QIODevice({lvalQBufferPrivate)' does not match
    #   '
    QIODevice::QIODevice()'
    #   '
    QIODevice::QIODevice(QIODevicePrivate &)'
    #   '
    QIODevice::QIODevice(const QIODevice &)'

    Errors caused tool to abort.
    make.exe[1]: *** [tmp/obj/release_shared/qbuffer.o] Error 1
    make.exe[1]: Leaving directory `C:/Qt/4.4.4-temple/examples/src/tools/rcc'
    C:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\tools\make.exe: *** [releaseError
     2
    O_QT3_SUPPORT 
    -DQT_UIC_CPP_GENERATOR -I"c:\Qt\4.4.4-temple\src\corelib\arch\generi
    c" 
    -I"..\..\..\include" -I"c:\Qt\4.4.4-temple\src\tools\uic" -I"..\..\..\include\Q
    tCore" 
    -I"..\..\..\include\QtXml" -I"c:\Qt\4.4.4-temple\src\xml" -I"c:\Qt\4.4.4-te
    mple\src\tools\uic" 
    -I"c:\Qt\4.4.4-temple\src\tools\uic\cpp" -I"." -I"c:\Qt\4.4.4-
    temple\src\3rdparty\zlib" 
    -I"c:\Qt\4.4.4-temple\src\tools\uic" -I"." -I"c:\Qt\4.4.
    4-temple\mkspecs\win32-mwc" 
    -o tmp\obj\release_shared\qbuffer.o c:\Qt\4.4.4-temple
    \src\corelib\io\qbuffer.cpp
    ### mwccsym2 Compiler:
    #      In: ..\..\..\include\QtCore\private\qiodevice_p.h
    #    From: C:\Qt\4.4.4-temple\src\corelib\io\qbuffer.cpp
    # ------------------------------------------------------
    #       1: #include "../../../../../src/corelib/io/qiodevice_p.h"
    #   Error:          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    #   the file '../../../../../src/corelib/io/qiodevice_p.h' cannot be opened
    ### mwccsym2 Compiler:
    #    File: C:\Qt\4.4.4-temple\src\corelib\io\qbuffer.cpp
    # ------------------------------------------------------
    #      43: class QBufferPrivate : public QIODevicePrivate
    #   Error:                               ^^^^^^^^^^^^^^^^
    #   illegal use of incomplete struct/union/class 'QIODevicePrivate'
    ### mwccsym2 Compiler:
    #     135:     : QIODevice(*new QBufferPrivate)
    #   Error:                                    ^
    #   function call '[QIODevice].QIODevice({lval} QBufferPrivate)' does not match
    #   'QIODevice::QIODevice()'
    #   'QIODevice::QIODevice(QIODevicePrivate &)'
    #   'QIODevice::QIODevice(const QIODevice &)'
    ### mwccsym2 Compiler:
    #     142:     : QIODevice(*new QBufferPrivate)
    #   Error:                                    ^
    #   function call '[QIODevice].QIODevice({lval} QBufferPrivate)' does not match
    #   'QIODevice::QIODevice()'
    #   'QIODevice::QIODevice(QIODevicePrivate &)'
    #   'QIODevice::QIODevice(const QIODevice &)'

    Errors caused tool to abort.
    make.exe[1]: *** [tmp/obj/release_shared/qbuffer.oError 1
    make
    .exe[1]: Leaving directory `C:/Qt/4.4.4-temple/examples/src/tools/uic'
    C:\S60\devices\S60_5th_Edition_SDK_v0.9\epoc32\tools\make.exe: *** [release] Error
     2


    Qt is now configured for building. Just run 'bldmake bldfiles && abld build winscw
    |armv5 udeb|urel'.
    To reconfigure, run 'abld reallyclean' and configure. 
    This does not happen in pyramid non-commerical version.


    c:\Qt\4.4.4-temple\examples>

    Good Luck,
    Jim
    Last edited by jimgilmour1; 2008-12-22 at 18:01. Reason: spelling

  9. #9
    Registered User
    Join Date
    Jul 2008
    Posts
    275

    Re: unable to config Qt for S60

    Hi Jim,
    I do have vista on Drive C: and xp on Drive D: ,but my Symbian Dev. Env. runs on xp.
    So what you have mentioned is not my case.
    I have also added "D:\QT\4.4.4-temple\bin" to front of PATH,but still the same error occured.

  10. #10
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Exclamation Re: unable to config Qt for S60

    Quote Originally Posted by BabyKiller View Post
    Hi Jim,
    I do have vista on Drive C: and xp on Drive D: ,but my Symbian Dev. Env. runs on xp.
    So what you have mentioned is not my case.
    I have also added "D:\QT\4.4.4-temple\bin" to front of PATH,but still the same error occured.
    Hi Thanks for that,
    This sort of proves that the problem lies in that somewhere the PATH setup and the symbols. Looks like someones hardcoded C: into some code.

    My problem is that this code include moves up 5 levels
    From: C:\Qt\4.4.4-temple\src\corelib\io\qbuffer.cpp
    # ------------------------------------------------------
    # 1: #include "../../../../../src/corelib/io/qiodevice_p.h"
    # Error: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    #
    Which effectively moves up to c:\Qt gving a path of
    c:\Qt\src/corelib/io/qiodevice_p.h

    The other thing is that this in a unix/linux style path so theres another error.



    The fact you get failures on XP similar to mine is interesting .
    Just have to wait for the Qt developers to see what they say.

    The original release pyramid works first time without any changes or path changes.
    Good Luck
    Jim
    Last edited by jimgilmour1; 2008-12-22 at 18:15.

  11. #11
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Re: unable to config Qt for S60

    i have configured qt in xp haveing my symbian sdk and qt temple in same drive ie E: u have to set the path
    MyComputer -> Environment variable the path of qt bin .Plus it has to be configured in Carbide C++ 2 also
    Windows ->Preferences -> Qt.
    Every project property has to be configured on which qt u are using ie. qt temple or pyramid.
    * One important thing is u should have winscw enviroment .
    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

  12. #12
    Super Contributor
    Join Date
    Dec 2005
    Location
    England,UK
    Posts
    1,600

    Re: unable to config Qt for S60

    Hi,

    Previous problems have been overcome
    I feel you should load the
    http://pepper.troll.no/s60prerelease...t-20081230.zip
    NOTE:- Date 30th December 2008

    Prior to this release I had problems with Temple release

    I have this patch for vista which I command run

    PHP Code:
    @echo off
    rem patch vista GCCE COMPILE PATH
    SET PATH
    =C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\CSL Arm Toolchain\arm-none-symbianelf\bin;C:\Program Files\CSL Arm Toolchain\libexec\gcc\arm-none-symbianelf\3.4.3;C:\Program Files\Common Files\Symbian\tools;%PATH%
    PATH=%PATH%;c:\Qt\4.4.4-temple\bin;c:\Qt\4.4.4-temple
    cd 
    \
    cd c:\Qt\4.4.4-temple\examples 
    I have sucessfully loaded and compiled this version
    Jim

  13. #13
    Registered User
    Join Date
    Oct 2008
    Posts
    6

    Re: unable to config Qt for S60

    Hi,

    I also tried to configure the Temple release of Qt on vista (used the patch given below as well ;-)), but during the configuration step I always end up with the following error


    // --------------------------

    C:\Qt\qt-s60-4.4.4>configure -platform win32-mwc -xplatform symbian-abld -qconfig symbian

    This is the Qt for S60 Preview Edition.

    You are licensed to use this software under the terms of
    the TECHNOLOGY PREVIEW LICENSE AGREEMENT.

    Type '?' to view the TECHNOLOGY PREVIEW LICENSE AGREEMENT.
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do you accept the terms of the license?
    y
    Environment:
    INCLUDE=
    Unset
    LIB=
    Unset
    PATH=
    C:\Program Files\Common Files\Symbian\tools
    C:\Qt\qt-s60-4.4.4\bin
    C:\Symbian\CSL Arm Toolchain\bin
    C:\Symbian\Carbide.c++\x86Build\Symbian_Tools\Command_Line_Tools
    C:\Program Files\PC Connectivity Solution\
    C:\Perl\bin\
    C:\Program Files\MiKTeX_v2.7\miktex\bin
    C:\Windows\system32
    C:\Windows
    C:\Windows\system32\wbem
    c:\program files\thinkpad\connectutilities
    c:\program files\intel\dmix
    c:\program files\intel\wireless\bin\
    c:\program files\common files\lenovo
    c:\program files\lenovo\client security solution
    C:\Java\jdk1.6.0_07\bin
    C:\Program Files\Microsoft SQL Server\90\Tools\binn\
    C:\Program Files\QuickTime\QTSystem\
    C:\Program Files\MATLAB_R2008a\bin
    C:\Program Files\MATLAB_R2008a\bin\win32
    C:\Java\javacc_v4.1\bin
    \Symbian\S60_5th_Edition_SDK_v0.9\epoc32\tools
    \Symbian\S60_5th_Edition_SDK_v0.9\epoc32\gcc\bin

    Licensee....................
    License ID..................
    Product license.............Preview Edition
    Expiry Date.................

    Configuration:
    dist-config
    large-config
    medium-config
    minimal-config
    small-config
    symbian-config
    build_all
    debug
    cross_compile
    Qt Configuration:
    release
    debug
    zlib
    png
    ipv6
    svg

    QMAKESPEC...................symbian-abld (commandline)
    Architecture................symbian
    Maketool....................make
    Debug symbols...............yes
    Accessibility support.......no
    STL support.................no
    Exception support...........no
    RTTI support................no
    MMX support.................no
    3DNOW support...............no
    SSE support.................no
    SSE2 support................no
    IWMMXT support..............no
    OpenGL support..............no
    Direct3D support............no
    OpenSSL support.............no
    QtDBus support..............no
    QtXmlPatterns support.......no
    Phonon support..............no
    WebKit support..............no
    Qt3 compatibility...........no

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    TIFF support............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............no
    Windows Vista...........no
    Plastique...............no
    Cleanlooks..............no
    Motif...................no
    CDE.....................no
    Windows CE..............no
    Windows Mobile..........no

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................plugin (qt)
    SQLite2.................no
    InterBase...............no

    Sources are in..............C:\Qt\qt-s60-4.4.4
    Build is done in............C:\Qt\qt-s60-4.4.4
    Install prefix..............
    Headers installed to........
    Libraries installed to......
    Plugins installed to........\resource\qt\plugins
    Binaries installed to.......
    Docs installed to...........
    Data installed to...........
    Translations installed to...
    Examples installed to.......
    Demos installed to..........

    Running syncqt...
    header (master) created for QtSvg
    headers.pri file created for QtSvg
    header (master) created for QtNetwork
    headers.pri file created for QtNetwork
    header (master) created for QtXml
    headers.pri file created for QtXml
    header (master) created for QtScript
    headers.pri file created for QtScript
    header (master) created for QtTest
    headers.pri file created for QtTest
    header (master) created for QtGui
    headers.pri file created for QtGui
    header (master) created for QtWebKit
    headers.pri file created for QtWebKit
    header created for C:/Qt/qt-s60-4.4.4/src/corelib/global/qconfig.h (1)
    header (master) created for QtCore
    headers.pri file created for QtCore
    Creating qmake...
    C:\Symbian\S60_5th_Edition_SDK_v0.9\epoc32\tools\make.exe: Makefile: No such file or directory
    C:\Symbian\S60_5th_Edition_SDK_v0.9\epoc32\tools\make.exe: *** No rule to make target `Makefile'. Stop.
    Creating makefiles in src...
    Generating Makefiles...
    execute: File or path is not found (C:\Qt\qt-s60-4.4.4\bin\qmake)
    Qmake failed, return code -1

    C:\Qt\qt-s60-4.4.4>

    // --------------------------


    The Path is set to:

    PATH=C:\Program Files\Common Files\Symbian\tools;C:\Qt\qt-s60-4.4.4\bin;C:\Symbian\CSL Arm Toolchain\bin;
    C:\Symbian\Carbide.c++\x86Build\Symbian_Tools\Command_Line_Tools;C:\Program Files\PC Connectivity Solution\;
    C:\Perl\bin\;C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Java\jdk1.6.0_07\bin;

    I've already tried Carbide configuration for the WINSCW command line several times, but this still doesn't change the situation ...


    Looking for some help ...

    domgus

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

    Re: unable to config Qt for S60

    Hi,

    I successfully set up and built Qt on Vista last night. No problems. No patches required apart from the standard Vista patches for the SDKs (nothing Qt specific). I am building on the C: drive so Jim may well be right that it won't build on D: - haven't tested that.

    \Symbian\S60_5th_Edition_SDK_v0.9\epoc32\tools
    \Symbian\S60_5th_Edition_SDK_v0.9\epoc32\gcc\bin

    These entries in your path look suspicious - they are not normally required, have you added them manually?

    Is this really the path to your SDK? It isn't the default one (they start \S60\devices these days).

    That said it all appears OK and the error reported is that there's no Makefile for qmake. You could check your Qt for S60 install and see if it's there.

    Mark

  15. #15
    Registered User
    Join Date
    Oct 2008
    Posts
    6

    Re: unable to config Qt for S60

    Hi thanks a lot for that Mark!

    These suspicious entries in the path were added through the EPOCROOT variable ... I've already removed them. The path to the SDK is OK - I've used a custom path (maybe I should use default ones next time ;-)).

    The problem is because of the missing Makefile ... looks like it disappeared somehow or it got lost accidentally while copying. Since then I've reinstalled the whole environment and its running - thank goodness.

    domgus

Similar Threads

  1. Replies: 5
    Last Post: 2010-02-11, 04:41
  2. Network config differences S40 / S60
    By ipxlittle in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2008-01-15, 22:38
  3. Build config :Unable to create view
    By Symbian_Neil in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-11-16, 23:20
  4. Replies: 3
    Last Post: 2005-10-12, 05:26

Posting Permissions

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