[Ipe-discuss] Building pdftoipe with Qt4

Johan Ingvast ingvast at md.kth.se
Tue Dec 20 22:42:30 CET 2005


Hi
I can not build pdftoipe anymore. I don't know if the reason is that I now have 
qt4. I recall, I could build without problems in qt3.

Has anybody successfully built pdftoipe after switching to qt4?


The error report from build:

g++ -c -pipe -g -w -D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED 
-I/usr/local/Trolltech/Qt-4.0.1/mkspecs/linux-g++ -I. 
-I/usr/local/Trolltech/Qt-4.0.1/include/QtGui 
-I/usr/local/Trolltech/Qt-4.0.1/include/QtCore 
-I/usr/local/Trolltech/Qt-4.0.1/include -I. -I. -o ocfile.o ocfile.cpp
ocfile.cpp: In member function `OCFILE* OcFileStore::Open(const char*, const 
char*)':
ocfile.cpp:78: error: `IO_WriteOnly' undeclared (first use this function)
ocfile.cpp:78: error: (Each undeclared identifier is reported only once for each 
function it appears in.)
ocfile.cpp:78: error: `IO_ReadOnly' undeclared (first use this function)
ocfile.cpp:79: error: conversion from `int' to `QFlags<QIODevice::OpenModeFlag>' 
is ambiguous
/usr/local/Trolltech/Qt-4.0.1/include/QtCore/qglobal.h:1439: note: candidates 
are: QFlags<Enum>::QFlags(void**) [with Enum = QIODevice::OpenModeFlag] <near match>
/usr/local/Trolltech/Qt-4.0.1/include/QtCore/qglobal.h:1438: note: 
    QFlags<Enum>::QFlags(Enum) [with Enum = QIODevice::OpenModeFlag] <near match>
ocfile.cpp: In function `size_t fwrite(const void*, size_t, size_t, OCFILE*)':
ocfile.cpp:116: error: 'class QIODevice' has no member named 'writeBlock'


and more


/johan



More information about the Ipe-discuss mailing list