KIO, gpgme

Stromek stromek at realtime.sk
Sat Mar 3 00:33:45 CET 2007


On Fri, Mar 02, 2007 at 06:29:35PM +0100, Christian Ehrlicher wrote:
> Stromek schrieb:
> >yeap, I commented it out by myself. almost everything compiled :) few
> >had errors but it does not matter at this now. from those compiled I was
> >able to run only kspaceduel and ktron and only ktron was playable :)
> >
> >I just wanted to try it out.
> >
> >I also tried to get gpgme compiled on windows. Its building process is
> >based autoconf and co. They are stating it is compilable under mingw32 but 
> >it
> >looks like only from linux box through cross-compiling. I just want to
> >make sure, but am I right that if I want make gpgme work with kde which is 
> >compiled
> >with msvc I have to compile also gpgme under msvc.
> >
> No, if it's C-code only, mingw is enough - the import lib can created in 
> a different way for msvc (secret magic things need to be done for this 
> ;-) - see also http://mingw.org/mingwfaq.shtml#faq-msvcdll)

Can someone help me with this please? I have no clue what to try. staticMetaObject origins in QObject. If I comment out Q_OBJECT macro from IncidenceChangerBase it links successfully, however moc generator complains that Q_OBJECT macro is missing and fails.


------ Build started: Project: korg_stdprinting, Configuration: Release Win32 --
----

Compiling...
calprinter.cpp
C:\Program Files\kdepimlibs\include\kcal\incidence.h(158) : warning C4996: 'KCal
::IncidenceBase::setDtStart' was declared deprecated
        c:\Program Files\kdepimlibs\include\kcal\incidencebase.h(291) : see decl
aration of 'KCal::IncidenceBase::setDtStart'
c:\Program Files\kdepimlibs\include\kcal\todo.h(153) : warning C4996: 'KCal::Inc
idence::setDtStart' was declared deprecated
        c:\Program Files\kdepimlibs\include\kcal\incidence.h(158) : see declarat
ion of 'KCal::Incidence::setDtStart'
N:\incoming\kde\kdelibs\KDE\kdepim-build\korganizer\printing\ui_calprintincidenc
econfig_base.h(58) : warning C4996: 'QVBoxLayout::QVBoxLayout' was declared depr
ecated
        n:\Qt\4.2\include\QtGui\../../src\gui\kernel\qboxlayout.h(132) : see dec
laration of 'QVBoxLayout::QVBoxLayout'
\incoming\kde\kdelibs\KDE\kdepim\korganizer\printing\calprinter.cpp(112) : warni
ng C4996: 'KConfigBase::readEntry' was declared deprecated
        C:\Program Files\kdelibs\include\kconfigbase.h(160) : see declaration of
 'KConfigBase::readEntry'
\incoming\kde\kdelibs\KDE\kdepim\korganizer\printing\calprinter.cpp(118) : warni
ng C4996: 'KConfigBase::writeEntry' was declared deprecated
        C:\Program Files\kdelibs\include\kconfigbase.h(763) : see declaration of
 'KConfigBase::writeEntry'
\incoming\kde\kdelibs\KDE\kdepim\korganizer\printing\calprinter.cpp(200) : warni
ng C4996: 'QGridLayout::addMultiCellWidget' was declared deprecated
        n:\Qt\4.2\include\QtGui\../../src\gui\kernel\qgridlayout.h(123) : see de
claration of 'QGridLayout::addMultiCellWidget'
Linking...
   Creating library N:\incoming\kde\kdelibs\KDE\kdepim-build\lib\Release\korg_st
dprinting.lib and object N:\incoming\kde\kdelibs\KDE\kdepim-build\lib\Release\ko
rg_stdprinting.exp
calprinter.obj : error LNK2019: unresolved external symbol "public: static struc
t QMetaObject const KOrg::IncidenceChangerBase::staticMetaObject" (?staticMetaOb
ject at IncidenceChangerBase@KOrg@@2UQMetaObject@@B) referenced in function "public
: static class QString __cdecl KOrg::IncidenceChangerBase::tr(char const *,char
const *)" (?tr at IncidenceChangerBase@KOrg@@SA?AVQString@@PBD0 at Z)
N:\incoming\kde\kdelibs\KDE\kdepim-build\lib\Release\korg_stdprinting.dll : fata
l error LNK1120: 1 unresolved externals

Build log was saved at "file://n:\incoming\kde\kdelibs\Kde\kdepim-build\korganiz
er\printing\korg_stdprinting.dir\Release\BuildLog.htm"
korg_stdprinting - 2 error(s), 6 warning(s)

-- 
Stromek



More information about the Kde-windows mailing list