KDE

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Compile error ktnef

    5 answers - 2721 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I am trying to compile the kdepim modules.
    But it gives me the following error messages:
    compiling /
    g++ -DHAVE_CNFIG_H -I./ktnef/lib
    -I.
    -I/usr/qt/4/include -I/usr/qt/4/include/Qt -I/usr/qt/4/include/QtCore
    -I/usr/qt/4/include/QtGui -I/usr/qt/4/include/Qt3Support -I.
    -DQT_THREAD_SUPPRT -D_REENTRANT -D_FILEFFSET_BITS=64
    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XPEN_SURCE=500
    -D_BSD_SURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
    -Wpointer-arith -Wformat-security -Wmissing-format-attribute
    -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
    -DQT_NCAST_TASCII -DQT_NSTL -DQT_NCMPAT -DQT_NTRANSLATIN
    -DQT3_SUPPRT -fPIC -DPIC -c
    / -o
    -Wp,-MD,
    In file included from
    /
    / qptrlist.h:
    No such file or directory
    In file included from
    /
    / error:
    `QIDevice' was
    not declared in this scope
    / error: `device'
    was
    not declared in this scope
    / error: invalid
    data
    member initialization
    / error: (use `='
    to
    initialize static data members)
    In file included from
    /
    / qptrlist.h:
    No such file or directory
    In file included from
    /
    / error: IS C++
    forbids declaration of `QPtrList' with no type
    / error:
    template-id `
    QPtrList<KTNEFAttach>' used as a declarator
    / error: parse
    error
    before `&' token
    / In member function
    `bool
    KTNEFParser::decodeMessage()':
    / error:
    `QValueList'
    undeclared (first use this function)
    / error: (Each
    undeclared identifier is reported only once for each function it
    appears
    in.)
    / error: parse
    error
    before `>' token
    / error:
    `recipTable'
    undeclared (first use this function)
    / In member function
    `bool
    KTNEFParser::extractAll()':
    / error: `
    QPtrListIterator' undeclared (first use this function)
    / error: parse
    error
    before `>' token
    / error: `it'
    undeclared (first use this function)
    / At global scope:
    / error: no `bool
    KTNEFParser::openDevice(QIDevice*)' member function declared in
    class `
    KTNEFParser'
    / In function
    `Q_UINT16
    readMAPIValue(QDataStream&, MAPI_value&)':
    / error: parse
    error
    before `>' token
    Error creating ./ktnef/lib/ktnefparser.lo. Exit status 1.
    make: [all] Error 1
    It has something to do with the Qt version, because some objects which
    are used in ktnef aren't supported anymore in the new Qt 4 version.
    What can I do?
    kde-pim mailing list
    kde-pim (AT) kde (DOT) org
    kde-pim home page at http://pim.kde.org/
  • No.1 | | 421 bytes | |

    Tuesday 16 August 2005 14:39, Thijs Haarhuis wrote:
    I am trying to compile the kdepim modules.
    But it gives me the following error messages:

    It has something to do with the Qt version, because some objects which
    are used in ktnef aren't supported anymore in the new Qt 4 version.

    kdepim still needs Qt3. We will start porting to Qt4 only at aKademy in two
    weeks.

    Cheers,
    Reinhold
  • No.2 | | 332 bytes | |

    Tuesday 16 August 2005 14:39, Thijs Haarhuis wrote:
    I am trying to compile the kdepim modules.
    But it gives me the following error messages:

    Against which Qt version? Qt 4 probably won't work yet, since we haven't put
    any effort at all into porting to it (and lo! ktnef still uses deprecated
    PtrLists).
  • No.3 | | 846 bytes | |

    I have both versions of Qt installed 3.3 and 4.0.
    But I had problems with the configure, it said I did not have Qt =4.0,
    so I only used Qt 4.0
    But how can I use both Qt 3.3 and Qt 4.0 to compile it?

    Adriaan de Groot wrote:

    Tuesday 16 August 2005 14:39, Thijs Haarhuis wrote:

    >
    >>I am trying to compile the kdepim modules.
    >>But it gives me the following error messages:

    >
    >>

    >
    >Against which Qt version? Qt 4 probably won't work yet, since we haven't put
    >any effort at all into porting to it (and lo! ktnef still uses deprecated
    >PtrLists).
    >


    kde-pim mailing list
    kde-pim (AT) kde (DOT) org

    kde-pim home page at http://pim.kde.org/
  • No.4 | | 520 bytes | |

    Tuesday 16 August 2005 12:42, Thijs Haarhuis wrote:
    I have both versions of Qt installed 3.3 and 4.0.
    But I had problems with the configure, it said I did not have Qt =4.0,
    so I only used Qt 4.0

    Ah, you are using kdepim from trunk? That won't compile, and if it does, it's
    severly broken, since we are only working in the 3.5 branch exclusively.

    But how can I use both Qt 3.3 and Qt 4.0 to compile it?

    Use kdepim from the 3.5 branch, not from trunk.

    Cheers,
    Reinhold
  • No.5 | | 738 bytes | |

    thanks, I will try the 3.5 branch

    Thijs

    Tuesday 16 August 2005 15:01, you wrote:
    Tuesday 16 August 2005 12:42, Thijs Haarhuis wrote:
    I have both versions of Qt installed 3.3 and 4.0.
    But I had problems with the configure, it said I did not have Qt =40,
    so I only used Qt 4.0

    Ah, you are using kdepim from trunk? That won't compile, and if it does,
    it's severly broken, since we are only working in the 3.5 branch
    exclusively.

    But how can I use both Qt 3.3 and Qt 4.0 to compile it?

    Use kdepim from the 3.5 branch, not from trunk.

    Cheers,
    Reinhold

    kde-pim mailing list
    kde-pim (AT) kde (DOT) org

    kde-pim home page at http://pim.kde.org/

Re: Compile error ktnef


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 1 =
QUESTION ON "KDE"

EMSDN.COM