|
From: <kar...@we...> - 2007-01-26 15:29:54
|
Hi, =20 I have Qt4 and Qt3 installed. But I am pretty sure that I have the qt3 hea= ders. How can I test if I have what I need=3F I am using Suse 10.0. Regards, K. *Von:* "Michal Hocko" <MS...@GM...> *Gesendet:* 25.01.07 19:15:59 *An:* Pdf...@li... *Betreff:* Re: [Pdfedit-support] pdfedit 0.2.3. make problem Hi, Hi.=20 first of all thanks for this program, I've been waiting for ages for a too= l like this!! But I have a make problem... :-( The problem is: tputDevPixmap.cpp QOutputDevPixmap.cpp: In constructor 'QOutputDevPixmap::QOutputDevPixmap(G= uchar*)': QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is ambigu= ous /usr/include/QtGui/qimage.h:95: note: candidates are: QImage::QImage(const= char*, const char*) /usr/include/QtGui/qimage.h:93: note: QImage::QImage(const QString&, const= char*) /usr/include/QtGui/qimage.h:91: note: QImage::QImage(const char* const*) QOutputDevPixmap.cpp: In member function 'virtual void QOutputDevPixmap::e= ndPage()': QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named 'reset'= QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of 'QImage'= make[2]: *** [QOutputDevPixmap.o] Error 1 make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.2.3/src/kpdf-kde-3.3= .2' make[1]: *** [qoutputdevices] Error 2 make[1]: Leaving director This kind of problem usually occurs with QT4 being used during=20 compilation.=20 Are you sure you have qt3 header files installed correctly=3F Qt4 uses different definition of QImage constructors and so=20 QImage constructor with one parameter with 0 value is ambiguous. --=20 Michal Hocko--------------------------------------------------------------= -----------Take Surveys. Earn Cash. Influence the Future of ITJoin SourceF= orge.net's Techsay panel and you'll get the chance to share youropinions o= n IT & business topics through brief surveys - and earn cashhttp://www.tec= hsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5FPdfedit-support mailing listPdfedit-suppor= t...@li...://lists.sourceforge.net/lists/listinfo/pdfedi= t-support=09 =09 Viren-Scan f=FCr Ihren PC! Jetzt f=FCr jeden. Sofort, online und kostenlos.=20 Gleich testen! *http://www.pc-sicherheit.web.de/freescan/=3Fmc=3D022222* [http= ://www.pc-sicherheit.web.de/freescan/=3Fmc=3D022222] |
|
From: <kar...@we...> - 2007-01-28 21:04:12
|
Hi, found another forum where people had the same problem, seems to be some co= mmon issue. Since Suse is quite common I (and probably many others) would = be very happy if this can get fixed. I'm happy to help with testing, but d= on't have an idea what to do. Please let try to get it fixed. Any suggestions for any test=3F Regards, K. > -----Urspr=FCngliche Nachricht----- > Von: pdf...@li... > Gesendet: 28.01.07 20:18:05 > An:=20 > CC: pdf...@li... > Betreff: Re: [Pdfedit-support] pdfedit 0.2.3. make problem > tried it again with 0.2.4: still the same issue. >=20 > kind regards, > Rainer >=20 > Rainer Lay schrieb: > > On my SuSE 10.2 box, I have the same problems. > > QTDIR is /usr/lib/qt3, where the qt3-devel files are too. > > So it should be no problem to compile qt stuff, which is working for > > other programs too :-) > > > > kind regards, > > Rainer > > > > Michal Hocko schrieb: > > =20 > >>> I have Qt4 and Qt3 installed. But I am pretty sure that I have the q= t3 headers. How can I test if I have what I need=3F I am using Suse 10.0. > >>> =20 > >>> =20 > >> I don't know Suse, but according your mail: > >> > >> =20 > >> =20 > >>> The problem is: > >>> > >>> tputDevPixmap.cpp > >>> QOutputDevPixmap.cpp: In constructor 'QOutputDevPixmap::QOutputDevPi= xmap(Guchar*)': > >>> QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is = ambiguous > >>> /usr/include/QtGui/qimage.h:95: note: candidates are: QImage::QImage= (const char*, const char*) > >>> /usr/include/QtGui/qimage.h:93: note: QImage::QImage(const QString&,= const char*) > >>> /usr/include/QtGui/qimage.h:91: note: QImage::QImage(const char* con= st*) > >>> QOutputDevPixmap.cpp: In member function 'virtual void QOutputDevPix= map::endPage()': > >>> QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named '= reset' > >>> QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of 'Q= Image' > >>> make[2]: *** [QOutputDevPixmap.o] Error 1 > >>> make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.2.3/src/kpdf-k= de-3.3.2' > >>> make[1]: *** [qoutputdevices] Error 2 > >>> make[1]: Leaving director > >>> =20 > >>> =20 > >> it seems that there is no information whether you are using QT3 or QT= 4 > >> (you are just using include/QtGui). In my debian box I have > >> /usr/include/qt[34]/ directories. > >> > >> =20 > >> =20 > > > > =20 >=20 > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Pdfedit-support mailing list > Pdf...@li... > https://lists.sourceforge.net/lists/listinfo/pdfedit-support >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfach! =09 Mehr Infos unter http://freemail.web.de/home/landingpad/=3Fmc=3D021131 |
|
From: Michal H. <ms...@se...> - 2007-01-28 22:37:49
|
> Hi, Hi, >=20 > found another forum where people had the same problem, seems to be some= common issue. Since Suse is quite common I (and probably many others) wo= uld be very happy if this can get fixed. I'm happy to help with testing, = but don't have an idea what to do. Seems that Suse has special way how to keep Qt3/4 header files.=20 What is the /usr/include/QtGui/? Is it directory or link to Qt3/4 header files directory? Could you pleas send /usr/include/QtGui/qimage.h so that I can compare it with my version which doesn't make any problem? gui part is the only part which uses qt stuff and it is configured by qma= ke. This utility knows how to create Makefile with correct include and library paths. This may be Qt specific. There are qmake-qt3 and qmake-qt4= =20 on some distributions to distinguish which one to choose. Try to check which one you are using at the moment.=20 My is: $ qmake -v Qmake version: 1.07a (Qt 3.3.7) Qmake is free software from Trolltech AS. >=20 > Please let try to get it fixed. Any suggestions for any test? >=20 > Regards, > K. > > -----Urspr=FCngliche Nachricht----- > > Von: pdf...@li... > > Gesendet: 28.01.07 20:18:05 > > An:=20 > > CC: pdf...@li... > > Betreff: Re: [Pdfedit-support] pdfedit 0.2.3. make problem >=20 >=20 > > tried it again with 0.2.4: still the same issue. > >=20 > > kind regards, > > Rainer > >=20 > > Rainer Lay schrieb: > > > On my SuSE 10.2 box, I have the same problems. > > > QTDIR is /usr/lib/qt3, where the qt3-devel files are too. > > > So it should be no problem to compile qt stuff, which is working fo= r > > > other programs too :-) > > > > > > kind regards, > > > Rainer > > > > > > Michal Hocko schrieb: > > > =20 > > >>> I have Qt4 and Qt3 installed. But I am pretty sure that I have th= e qt3 headers. How can I test if I have what I need? I am using Suse 10.0= . > > >>> =20 > > >>> =20 > > >> I don't know Suse, but according your mail: > > >> > > >> =20 > > >> =20 > > >>> The problem is: > > >>> > > >>> tputDevPixmap.cpp > > >>> QOutputDevPixmap.cpp: In constructor 'QOutputDevPixmap::QOutputDe= vPixmap(Guchar*)': > > >>> QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' = is ambiguous > > >>> /usr/include/QtGui/qimage.h:95: note: candidates are: QImage::QIm= age(const char*, const char*) > > >>> /usr/include/QtGui/qimage.h:93: note: QImage::QImage(const QStrin= g&, const char*) > > >>> /usr/include/QtGui/qimage.h:91: note: QImage::QImage(const char* = const*) > > >>> QOutputDevPixmap.cpp: In member function 'virtual void QOutputDev= Pixmap::endPage()': > > >>> QOutputDevPixmap.cpp:62: error: 'class QImage' has no member name= d 'reset' > > >>> QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of= 'QImage' > > >>> make[2]: *** [QOutputDevPixmap.o] Error 1 > > >>> make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.2.3/src/kpd= f-kde-3.3.2' > > >>> make[1]: *** [qoutputdevices] Error 2 > > >>> make[1]: Leaving director > > >>> =20 > > >>> =20 > > >> it seems that there is no information whether you are using QT3 or= QT4 > > >> (you are just using include/QtGui). In my debian box I have > > >> /usr/include/qt[34]/ directories. > > >> > > >> =20 > > >> =20 > > > > > > =20 > >=20 > > ---------------------------------------------------------------------= ---- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to sha= re your > > opinions on IT & business topics through brief surveys - and earn cas= h > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CI= D=3DDEVDEV > > _______________________________________________ > > Pdfedit-support mailing list > > Pdf...@li... > > https://lists.sourceforge.net/lists/listinfo/pdfedit-support > >=20 >=20 >=20 > _______________________________________________________________________= ___ > Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfa= ch! =09 > Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=3D021131 >=20 >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Pdfedit-support mailing list > Pdf...@li... > https://lists.sourceforge.net/lists/listinfo/pdfedit-support --=20 Michal Hocko |
|
From: Rainer L. <rai...@gm...> - 2007-01-29 09:08:48
|
Michal Hocko schrieb: >> Hi, >> > > Hi, > > >> found another forum where people had the same problem, seems to be some common issue. Since Suse is quite common I (and probably many others) would be very happy if this can get fixed. I'm happy to help with testing, but don't have an idea what to do. >> > > Seems that Suse has special way how to keep Qt3/4 header files. > What is the /usr/include/QtGui/? Is it directory or link to Qt3/4 > header files directory? > It is a directory of the qt4 installation. > Could you pleas send /usr/include/QtGui/qimage.h so that I can compare > it with my version which doesn't make any problem? > Goes to you via private mail. > gui part is the only part which uses qt stuff and it is configured by qmake. > This utility knows how to create Makefile with correct include and > library paths. This may be Qt specific. There are qmake-qt3 and qmake-qt4 > on some distributions to distinguish which one to choose. Try to check > which one you are using at the moment. > My is: > $ qmake -v > Qmake version: 1.07a (Qt 3.3.7) > Qmake is free software from Trolltech AS. > > > qmake -v QMake version 2.01a Using Qt version 4.2.1 in /usr/lib regarding include and lib paths: cd kpdf-kde-3.3.2 && qmake && make staticlib make[2]: Entering directory `/usr/src/packages/SOURCES/pdfedit-0.2.4/src/kpdf-kde-3.3.2' g++ -c -pipe -g -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I../xpdf -I../xpdf/xpdf -I../xpdf/goo -I../xpdf/splash -I../xpdf/fofi -I. -I. -o QOutputDevPixmap.o QOutputDevPixmap.cpp QOutputDevPixmap.cpp: In constructor ‘QOutputDevPixmap::QOutputDevPixmap(Guchar*)’: QOutputDevPixmap.cpp:39: error: call of overloaded ‘QImage(int)’ is ambiguous /usr/include/QtGui/qimage.h:104: note: candidates are: QImage::QImage(const char*, const char*) /usr/include/QtGui/qimage.h:102: note: QImage::QImage(const QString&, const char*) /usr/include/QtGui/qimage.h:100: note: QImage::QImage(const char* const*) QOutputDevPixmap.cpp: In member function ‘virtual void QOutputDevPixmap::endPage()’: QOutputDevPixmap.cpp:62: error: ‘class QImage’ has no member named ‘reset’ QOutputDevPixmap.cpp:78: error: ‘IgnoreEndian’ is not a member of ‘QImage’ make[2]: *** [QOutputDevPixmap.o] Fehler 1 Since it is using /usr/share/qt4/mkspecs/default as lib path, I asume, qmake is doing this job well. BTW, in SuSE 10.2, QTDIR is set to qt3. I changed this to qt4, but this didn't helped. kind regards, Rainer |
|
From: Michal H. <ms...@gm...> - 2007-01-29 09:21:02
|
> > > Seems that Suse has special way how to keep Qt3/4 header files. > > What is the /usr/include/QtGui/? Is it directory or link to Qt3/4 > > header files directory? > > > It is a directory of the qt4 installation. > My is: > > $ qmake -v > > Qmake version: 1.07a (Qt 3.3.7) > > Qmake is free software from Trolltech AS. > > > > > > qmake -v > QMake version 2.01a > Using Qt version 4.2.1 in /usr/lib Ok, is there any qmake regarding to Qt3? regarding include and lib paths: > cd kpdf-kde-3.3.2 && qmake && make staticlib > make[2]: Entering directory > `/usr/src/packages/SOURCES/pdfedit-0.2.4/src/kpdf-kde-3.3.2' > g++ -c -pipe -g -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG > -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default > -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui > -I/usr/include/QtGui -I/usr/include -I../xpdf -I../xpdf/xpdf > -I../xpdf/goo -I../xpdf/splash -I../xpdf/fofi -I. -I. -o > QOutputDevPixmap.o QOutputDevPixmap.cpp > QOutputDevPixmap.cpp: In constructor > 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)': > QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is > ambiguous > /usr/include/QtGui/qimage.h:104: note: candidates are: > QImage::QImage(const char*, const char*) > /usr/include/QtGui/qimage.h:102: note: QImage::QImage(const QString&, > const char*) > /usr/include/QtGui/qimage.h:100: note: QImage::QImage(const char* const*) > QOutputDevPixmap.cpp: In member function 'virtual void > QOutputDevPixmap::endPage()': > QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named 'reset' > QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of 'QImage' > make[2]: *** [QOutputDevPixmap.o] Fehler 1 > > Since it is using /usr/share/qt4/mkspecs/default as lib path, I asume, > qmake is doing this job well. > > BTW, in SuSE 10.2, QTDIR is set to qt3. I changed this to qt4, but this > didn't helped. Ok, this everything tells me, that even that you are using QTDIR set to qt3 directory, this is not anough for proper installation. You have to use also qmake specific for qt3 because this util sets correct include and library paths. PDFedit is not prepared for QT4 at this moment (that is on TODO list), so try to persuade your system to use qt3 only stuff for pdfedit compilation and everything should fork fine. -- Michal Hocko |
|
From: Rainer L. <rai...@gm...> - 2007-01-29 13:42:15
|
It works, when I set path to $QTDIR/bin:$PATH Could you please use "$QTDIR/bin/qmake" instead of simple "qmake" in your makefile, ...? Feel free to send me some test sources for compilation via private mail. rgds, Rainer Michal Hocko schrieb: > > > > Seems that Suse has special way how to keep Qt3/4 header files. > > What is the /usr/include/QtGui/? Is it directory or link to Qt3/4 > > header files directory? > > > It is a directory of the qt4 installation. > > > > > > My is: > > $ qmake -v > > Qmake version: 1.07a (Qt 3.3.7) > > Qmake is free software from Trolltech AS. > > > > > > qmake -v > QMake version 2.01a > Using Qt version 4.2.1 in /usr/lib > > > Ok, is there any qmake regarding to Qt3? > > regarding include and lib paths: > cd kpdf-kde-3.3.2 && qmake && make staticlib > make[2]: Entering directory > `/usr/src/packages/SOURCES/pdfedit-0.2.4/src/kpdf-kde-3.3.2' > g++ -c -pipe -g -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG > -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED > -I/usr/share/qt4/mkspecs/default > -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui > -I/usr/include/QtGui -I/usr/include -I../xpdf -I../xpdf/xpdf > -I../xpdf/goo -I../xpdf/splash -I../xpdf/fofi -I. -I. -o > QOutputDevPixmap.o QOutputDevPixmap.cpp > QOutputDevPixmap.cpp: In constructor > 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)': > QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is > ambiguous > /usr/include/QtGui/qimage.h:104: note: candidates are: > QImage::QImage(const char*, const char*) > /usr/include/QtGui/qimage.h:102: note: QImage::QImage(const QString&, > const char*) > /usr/include/QtGui/qimage.h:100: note: QImage::QImage(const char* > const*) > QOutputDevPixmap.cpp: In member function 'virtual void > QOutputDevPixmap::endPage()': > QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named > 'reset' > QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of > 'QImage' > make[2]: *** [QOutputDevPixmap.o] Fehler 1 > > Since it is using /usr/share/qt4/mkspecs/default as lib path, I asume, > qmake is doing this job well. > > BTW, in SuSE 10.2, QTDIR is set to qt3. I changed this to qt4, but > this > didn't helped. > > > Ok, this everything tells me, that even that you are using QTDIR set > to qt3 directory, > this is not anough for proper installation. You have to use also qmake > specific > for qt3 because this util sets correct include and library paths. > PDFedit is not prepared for QT4 at this moment (that is on TODO list), > so try to persuade > your system to use qt3 only stuff for pdfedit compilation and > everything should fork fine. > > -- > Michal Hocko > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Pdfedit-support mailing list > Pdf...@li... > https://lists.sourceforge.net/lists/listinfo/pdfedit-support > |
|
From: Michal H. <ms...@gm...> - 2007-01-29 14:19:30
|
On 1/29/07, Andres Peratta <ape...@we...> wrote: > > In Suse 9.3, I had to set path to $QTDIR/bin:$PATH as well in order to > compile. Otherwise it would never work. Hope it helps. > Best regards, > Andres As I have described in previous emails, most of distributions solve this problem by creating version specific names for programs (e.g. gcc-3.3, gcc-4.1) and simple name which just a link to the real target depending what you want to use at the moment. But I don't think that it will be problem to call qmake with full path $QTDIR/bin/qmake. I just have to check whether this is unified and same in already tested platforms. If yes I will tell qmake project file creator to update it. I will write to pdfedit-news mailing list when ready (fill free to subscribe and be in conctact when something changes ;) ) Thanks for help to make PDFedit usable also on SUSE -- Michal Hocko |
|
From: Rainer L. <rai...@gm...> - 2007-01-29 14:25:34
|
Hello Michal, jsut to make it clear: on my SuSE machine, I have no problems compiling other qt3 applications, although I have both development packages installed: > rpm -q qt3-devel libqt4-devel qt3-devel-3.3.7-12 libqt4-devel-4.2.1-18 This issue could be solved by removing the qt4 related files. But it seems not to be neccessary. And it would be the more convenient way, if pdfedit compiles on systems with qt3 and qt4 too. kind regards, Rainer Michal Hocko schrieb: > > > On 1/29/07, *Andres Peratta* <ape...@we... > <mailto:ape...@we...>> wrote: > > In Suse 9.3, I had to set path to $QTDIR/bin:$PATH as well in order to > compile. Otherwise it would never work. Hope it helps. > Best regards, > Andres > > > > As I have described in previous emails, most of distributions solve this > problem by creating version specific names for programs (e.g. gcc-3.3, > gcc-4.1) and simple name which just a link to the real target depending > what you want to use at the moment. > > But I don't think that it will be problem to call qmake with full path > $QTDIR/bin/qmake. I just have to check whether this is unified and same > in already tested platforms. If yes I will tell qmake project file > creator to > update it. I will write to pdfedit-news mailing list when ready (fill > free to > subscribe and be in conctact when something changes ;) ) > > Thanks for help to make PDFedit usable also on SUSE > -- > Michal Hocko > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Pdfedit-support mailing list > Pdf...@li... > https://lists.sourceforge.net/lists/listinfo/pdfedit-support > |
|
From: Andres P. <ape...@we...> - 2007-01-29 14:10:14
|
In Suse 9.3, I had to set path to $QTDIR/bin:$PATH as well in order to compile. Otherwise it would never work. Hope it helps. Best regards, Andres On Monday 29 January 2007 13:40, Rainer Lay wrote: > It works, when I set path to $QTDIR/bin:$PATH > Could you please use "$QTDIR/bin/qmake" instead of simple "qmake" in > your makefile, ...? > Feel free to send me some test sources for compilation via private mail. > > rgds, Rainer > > Michal Hocko schrieb: > > > Seems that Suse has special way how to keep Qt3/4 header files. > > > What is the /usr/include/QtGui/? Is it directory or link to Qt3/4 > > > header files directory? > > > > It is a directory of the qt4 installation. > > > > > My is: > > > $ qmake -v > > > Qmake version: 1.07a (Qt 3.3.7) > > > Qmake is free software from Trolltech AS. > > > > > > > > > qmake -v > > > > QMake version 2.01a > > Using Qt version 4.2.1 in /usr/lib > > > > > > Ok, is there any qmake regarding to Qt3? > > > > regarding include and lib paths: > > cd kpdf-kde-3.3.2 && qmake && make staticlib > > make[2]: Entering directory > > `/usr/src/packages/SOURCES/pdfedit-0.2.4/src/kpdf-kde-3.3.2' > > g++ -c -pipe -g -O2 -fPIC -Wall -W -D_REENTRANT -DQT_NO_DEBUG > > -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED > > -I/usr/share/qt4/mkspecs/default > > -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui > > -I/usr/include/QtGui -I/usr/include -I../xpdf -I../xpdf/xpdf > > -I../xpdf/goo -I../xpdf/splash -I../xpdf/fofi -I. -I. -o > > QOutputDevPixmap.o QOutputDevPixmap.cpp > > QOutputDevPixmap.cpp: In constructor > > 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)': > > QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is > > ambiguous > > /usr/include/QtGui/qimage.h:104: note: candidates are: > > QImage::QImage(const char*, const char*) > > /usr/include/QtGui/qimage.h:102: note: QImage::QImage(const QString&, > > const char*) > > /usr/include/QtGui/qimage.h:100: note: QImage::QImage(const char* > > const*) > > QOutputDevPixmap.cpp: In member function 'virtual void > > QOutputDevPixmap::endPage()': > > QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named > > 'reset' > > QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of > > 'QImage' > > make[2]: *** [QOutputDevPixmap.o] Fehler 1 > > > > Since it is using /usr/share/qt4/mkspecs/default as lib path, I > > asume, qmake is doing this job well. > > > > BTW, in SuSE 10.2, QTDIR is set to qt3. I changed this to qt4, but > > this > > didn't helped. > > > > > > Ok, this everything tells me, that even that you are using QTDIR set > > to qt3 directory, > > this is not anough for proper installation. You have to use also qmake > > specific > > for qt3 because this util sets correct include and library paths. > > PDFedit is not prepared for QT4 at this moment (that is on TODO list), > > so try to persuade > > your system to use qt3 only stuff for pdfedit compilation and > > everything should fork fine. > > > > -- > > Michal Hocko > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys - and earn > > cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Pdfedit-support mailing list > > Pdf...@li... > > https://lists.sourceforge.net/lists/listinfo/pdfedit-support > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Pdfedit-support mailing list > Pdf...@li... > https://lists.sourceforge.net/lists/listinfo/pdfedit-support |
|
From: <kar...@we...> - 2007-01-29 19:03:17
|
had to travel on short notice and can't test the next 2 weeks. sorry. Will= test as soon as I am back. Thanks for the ideas so far. > -----Urspr=FCngliche Nachricht----- > Von: pdf...@li... > Gesendet: 29.01.07 15:20:28 > An: pdf...@li... > Betreff: Re: [Pdfedit-support] pdfedit 0.2.3. make problem >=20 >=20 > On 1/29/07, Andres Peratta <ape...@we...> wrote: > In Suse 9.3, I had to set path to $QTDIR/bin:$PATH as well in order to > compile. Otherwise it would never work. Hope it helps. > Best regards, > Andres >=20 > As I have described in previous emails, most of distributions solve thi= s=20 > problem by creating version specific names for programs (e.g. gcc-3.3,=20 > gcc-4.1) and simple name which just a link to the real target depending=20 > what you want to use at the moment. >=20 > But I don't think that it will be problem to call qmake with full path=20 > $QTDIR/bin/qmake. I just have to check whether this is unified and same > in already tested platforms. If yes I will tell qmake project file creat= or to=20 > update it. I will write to pdfedit-news mailing list when ready (fill fr= ee to >=20 > subscribe and be in conctact when something changes ;) ) >=20 > Thanks for help to make PDFedit usable also on SUSE > --=20 > Michal Hocko >=20 > ----------------------------------------------------------------- > ------------------------------------------------------------------------= - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share = your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php=3Fpage=3Djoin.php&p=3Dsourceforge&CID=3DDEVDE= V >=20 > ----------------------------------------------------------------- > =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F > Pdfedit-support mailing list > Pdf...@li... > https://lists.sourceforge.net/lists/listinfo/pdfedit-support >=20 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= Erweitern Sie FreeMail zu einem noch leistungsst=E4rkeren E-Mail-Postfach! =09 Mehr Infos unter http://freemail.web.de/home/landingpad/=3Fmc=3D021131 |
|
From: Michal H. <ms...@gm...> - 2007-01-26 16:24:13
|
> I have Qt4 and Qt3 installed. But I am pretty sure that I have the qt3 headers. How can I test if I have what I need? I am using Suse 10.0. I don't know Suse, but according your mail: > The problem is: > > tputDevPixmap.cpp > QOutputDevPixmap.cpp: In constructor 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)': > QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is ambiguous > /usr/include/QtGui/qimage.h:95: note: candidates are: QImage::QImage(const char*, const char*) > /usr/include/QtGui/qimage.h:93: note: QImage::QImage(const QString&, const char*) > /usr/include/QtGui/qimage.h:91: note: QImage::QImage(const char* const*) > QOutputDevPixmap.cpp: In member function 'virtual void QOutputDevPixmap::endPage()': > QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named 'reset' > QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of 'QImage' > make[2]: *** [QOutputDevPixmap.o] Error 1 > make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.2.3/src/kpdf-kde-3.3.2' > make[1]: *** [qoutputdevices] Error 2 > make[1]: Leaving director it seems that there is no information whether you are using QT3 or QT4 (you are just using include/QtGui). In my debian box I have /usr/include/qt[34]/ directories. -- Michal Hocko |
|
From: Rainer L. <rai...@gm...> - 2007-01-26 16:27:28
|
On my SuSE 10.2 box, I have the same problems. QTDIR is /usr/lib/qt3, where the qt3-devel files are too. So it should be no problem to compile qt stuff, which is working for other programs too :-) kind regards, Rainer Michal Hocko schrieb: >> I have Qt4 and Qt3 installed. But I am pretty sure that I have the qt3 headers. How can I test if I have what I need? I am using Suse 10.0. >> > > I don't know Suse, but according your mail: > > >> The problem is: >> >> tputDevPixmap.cpp >> QOutputDevPixmap.cpp: In constructor 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)': >> QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is ambiguous >> /usr/include/QtGui/qimage.h:95: note: candidates are: QImage::QImage(const char*, const char*) >> /usr/include/QtGui/qimage.h:93: note: QImage::QImage(const QString&, const char*) >> /usr/include/QtGui/qimage.h:91: note: QImage::QImage(const char* const*) >> QOutputDevPixmap.cpp: In member function 'virtual void QOutputDevPixmap::endPage()': >> QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named 'reset' >> QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of 'QImage' >> make[2]: *** [QOutputDevPixmap.o] Error 1 >> make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.2.3/src/kpdf-kde-3.3.2' >> make[1]: *** [qoutputdevices] Error 2 >> make[1]: Leaving director >> > > it seems that there is no information whether you are using QT3 or QT4 > (you are just using include/QtGui). In my debian box I have > /usr/include/qt[34]/ directories. > > |
|
From: Rainer L. <rai...@gm...> - 2007-01-28 19:17:36
|
tried it again with 0.2.4: still the same issue. kind regards, Rainer Rainer Lay schrieb: > On my SuSE 10.2 box, I have the same problems. > QTDIR is /usr/lib/qt3, where the qt3-devel files are too. > So it should be no problem to compile qt stuff, which is working for > other programs too :-) > > kind regards, > Rainer > > Michal Hocko schrieb: > >>> I have Qt4 and Qt3 installed. But I am pretty sure that I have the qt3 headers. How can I test if I have what I need? I am using Suse 10.0. >>> >>> >> I don't know Suse, but according your mail: >> >> >> >>> The problem is: >>> >>> tputDevPixmap.cpp >>> QOutputDevPixmap.cpp: In constructor 'QOutputDevPixmap::QOutputDevPixmap(Guchar*)': >>> QOutputDevPixmap.cpp:39: error: call of overloaded 'QImage(int)' is ambiguous >>> /usr/include/QtGui/qimage.h:95: note: candidates are: QImage::QImage(const char*, const char*) >>> /usr/include/QtGui/qimage.h:93: note: QImage::QImage(const QString&, const char*) >>> /usr/include/QtGui/qimage.h:91: note: QImage::QImage(const char* const*) >>> QOutputDevPixmap.cpp: In member function 'virtual void QOutputDevPixmap::endPage()': >>> QOutputDevPixmap.cpp:62: error: 'class QImage' has no member named 'reset' >>> QOutputDevPixmap.cpp:78: error: 'IgnoreEndian' is not a member of 'QImage' >>> make[2]: *** [QOutputDevPixmap.o] Error 1 >>> make[2]: Leaving directory `/exchange/BUILD/pdfedit-0.2.3/src/kpdf-kde-3.3.2' >>> make[1]: *** [qoutputdevices] Error 2 >>> make[1]: Leaving director >>> >>> >> it seems that there is no information whether you are using QT3 or QT4 >> (you are just using include/QtGui). In my debian box I have >> /usr/include/qt[34]/ directories. >> >> >> > > |