> To my knowledge, Rene Dohan did compile QJambi on ArchLinux. > > Do you have any advice for Simon, Rene? > > I have mostly worked on the Ubuntu derivatives, where I know the compiling > works > pretty out of the box once the kde-devel package has been installed. > > Guys, what other platforms are supported as build platforms? Where did you > compile > QtJambi? Some Red Hats out there? I tried OpenSuse 11.2 some days ago, but > actually > had problems compiling Qt itself here... > I have some troubles compiling Qt with ubuntu 9.04 32 bits. I will try again in two or three days,
> Regards, > Helge Fredriksen > > On Wed, Feb 17, 2010 at 5:03 PM, Simon Andersson <[email protected]>wrote: > > Hi, > > > > > > > > As I’m having some trouble building under Arch Linux, I’m wondering on > > what platforms the build has been confirmed to work. I really want to get > > it to work on Arch Linux, but it may also be possible for us to work on a > > different platform. > > > > > > > > Thanks, > > > > > > > > - Simon > > > > > > > > > > > > *From:* Helge Fredriksen [mailto:[email protected]] > > *Sent:* mercoledì 17 febbraio 2010 12:53 > > *To:* Simon Andersson > > *Cc:* [email protected] > > *Subject:* Re: [Qt-jambi-interest] Fwd: Generator compile error > > > > > > > > Hmm, > > > > > > > > Why don't you have > > > > > > > > /usr/lib/jvm/java-6-sun > > > > > > > > as your JAVA_HOME environment variable? I see that this is used in your > > PATH setup, and I expect this is where ArchLinux has > > > > installed the Sun JDK? If /opt/java is pointing to a JRE or a OpenJDK > > version, there is a potentially problem. > > > > > > > > > > > > Regards, > > > > Helge Fredriksen > > > > On Wed, Feb 17, 2010 at 11:21 AM, Simon Andersson > > <[email protected]> wrote: > > > > Hi, > > > > > > > > Thanks again! I am still having no luck. > > > > > > > > I installed the Sun JDK. In Arch Linux: > > > > > > > > pacman -S jdk > > > > > > > > It doesn’t seem to install anything under /usr/lib/jvm, the java > > executable is instead in /opt/java/bin and I set /opt/java as the > > JAVA_HOME. > > > > > > > > My environment variables (QTDIR, JAVA_HOME, QTJAMBI, PATH, > > LD_LIBRARY_PATH) are as follows: > > > > > > > > /opt/qtsdk-2010.01/qt > > > > /opt/java > > > > /simon/jambi/gitorious/git/qt-jambi > > > > > > /opt/java/bin:/usr/lib/jvm/java-6-sun/bin:/opt/qtsdk-2010.01/qt/bin:/opt/ > >qtsdk-2010.01/qt//bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/share/java/apache > >-ant/bin:/usr/bin/perlbin/site:/usr/bin/perlbin/vendor:/usr/bin/perlbin/co > >re > > > > /opt/qtsdk-2010.01/qt/lib > > > > > > > > I have attached the full output of a clean build. > > > > > > > > Thanks for the help, > > > > > > > > - Simon > > > > > > > > > > > > > > > > *From:* Helge Fredriksen [mailto:[email protected]] > > *Sent:* martedì 16 febbraio 2010 20:28 > > *To:* Simon Andersson > > *Cc:* [email protected] > > *Subject:* Re: [Qt-jambi-interest] Fwd: Generator compile error > > > > > > > > Hmm, > > > > This was a clean install after you corrected the path problem? > > > > If so, please try compiling after installing the Sun JDK version (apt-get > > install sun-java6-jdk if you're using debian/ubuntu), > > and putting /usr/lib/jvm/java-6-sun/bin in the front of your path and > > /usr/lib/jvm/java-6-sun as your JAVA_HOME. > > > > Regards, > > Helge Fredriksen > > > > On Tue, Feb 16, 2010 at 9:54 AM, Simon Andersson > > <[email protected]> wrote: > > > > Helge, > > > > > > > > Thanks for the response and the help! > > > > > > > > I updated the environment variables and made a clean build. This time it > > got further, but the build still failed. Output below. (The output is > > from running ant a second time. Let me know if you need the output from a > > clean build). > > > > > > > > Thanks, > > > > > > > > - Simon > > > > > > > > > > > > > > > > Buildfile: build.xml > > > > > > > > init.ant: > > > > > > > > init.jumptable.do: > > > > > > > > init.jumptable.dont: > > > > > > > > init.taskdef: > > > > > > > > init: > > > > [qtjambi-initialize] qtjambi.osname: linux32 > > > > [qtjambi-initialize] qtjambi.libsubdir: lib > > > > [qtjambi-initialize] qtjambi.qtdir: /opt/qtsdk-2010.01/qt > > > > [qtjambi-initialize] qtjambi.compiler: gcc > > > > [qtjambi-initialize] qtjambi.configuration: release > > > > [qtjambi-initialize] qtjambi.phonon: true > > > > [qtjambi-initialize] qtjambi.sqlite: true > > > > [qtjambi-initialize] qtjambi.webkit: true > > > > [qtjambi-initialize] qtjambi.xmlpatterns: true > > > > [qtjambi-initialize] qtjambi.opengl: true > > > > > > > > generator.xmlmerge.core: > > > > > > > > generator.xmlmerge.gui: > > > > > > > > generator.xmlmerge.network: > > > > > > > > generator.xmlmerge.svg: > > > > > > > > generator.xmlmerge.xml: > > > > > > > > generator.xmlmerge.xmlpatterns: > > > > > > > > generator.xmlmerge.opengl: > > > > > > > > generator.xmlmerge.sql: > > > > > > > > generator.xmlmerge.designer: > > > > > > > > generator.xmlmerge.webkit: > > > > > > > > generator.xmlmerge.phonon: > > > > > > > > generator.xmlmerge: > > > > > > > > generator.qmake: > > > > > > > > generator.compile: > > > > > > > > generator.run: > > > > > > > > generator: > > > > > > > > library.native.qmake: > > > > > > > > library.native.compile: > > > > [make] > > > > [make] Running : (/simon/jambi/gitorious/git/qt-jambi) make > > > > [make] cd qtjambi/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi' > > > > [make] make[1]: Nothing to be done for `first'. > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi' > > > > [make] cd juic/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/juic' > > > > [make] make[1]: Nothing to be done for `first'. > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/juic' > > > > [make] cd qtjambi_core/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi_core' > > > > [make] make[1]: Nothing to be done for `first'. > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi_core' > > > > [make] cd qtjambi_gui/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi_gui' > > > > [make] g++ -c -pipe -O2 -Wall -W -Wno-unused-function -D_REENTRANT > > -fPIC -DQT_QTJAMBI_IMPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB > > -DQT_SHARED -I/opt/qtsdk-2010.01/qt/mkspecs/linux-g++ -I. > > -I/opt/qtsdk-2010.01/qt/include/QtCore > > -I/opt/qtsdk-2010.01/qt/include/QtGui -I/opt/qtsdk-2010.01/qt/include > > -I../qtjambi -I../common > > -I/usr/lib/jvm/java-6-openjdk/include > > -I/usr/lib/jvm/java-6-openjdk/include/linux -I. -I../qtjambi_core -I. -o > > qtjambishell_QPixmapCache.o > > ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp > > > > [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp: In > > function ‘jboolean > > Java_com_trolltech_qt_gui_QPixmapCache_find__Ljava_lang_String_2Lcom_trol > >ltech_qt_QNativePointer_2(JNIEnv*, _jclass*, _jobject*, _jobject*)’: > > > > [make] > > ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp:120: error: > > redefinition of ‘jboolean > > Java_com_trolltech_qt_gui_QPixmapCache_find__Ljava_lang_String_2Lcom_trol > >ltech_qt_QNativePointer_2(JNIEnv*, _jclass*, _jobject*, _jobject*)’ > > > > [make] ../cpp/com_trolltech_qt_gui/qtjambishell_QPixmapCache.cpp:99: > > error: ‘jboolean > > Java_com_trolltech_qt_gui_QPixmapCache_find__Ljava_lang_String_2Lcom_trol > >ltech_qt_QNativePointer_2(JNIEnv*, _jclass*, _jobject*, _jobject*)’ > > previously defined here > > > > [make] make[1]: *** [qtjambishell_QPixmapCache.o] Error 1 > > > > [make] make: *** [sub-qtjambi_gui-make_default-ordered] Error 2 > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi_gui' > > > > > > > > *From:* Helge Fredriksen [mailto:[email protected]] > > *Sent:* lunedì 15 febbraio 2010 19:21 > > *To:* Simon Andersson > > *Cc:* [email protected] > > *Subject:* Re: [Qt-jambi-interest] Fwd: Generator compile error > > > > > > > > Studying these lines: > > > > > > > > -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore > > -I/usr/include -I../qtjambi -I../common > > -I/usr/lib/jvm/java-6-openjdk/include > > -I/usr/lib/jvm/java-6-openjdk/include/linux > > > > > > > > it seems that the compiler did not pick up the correct Qt version. You > > also need to put $QTDIR/bin in the front of your path before compiling > > QtJambi. I will add this to the build description. > > > > > > > > OpenJDK should work, even though I usually download the JDK from Sun. > > Anyone have any experience with the behaviour of OpenJDK in QtJambi > > context? > > > > > > > > Regards, > > > > Helge Fredriksen > > > > > > > > On Mon, Feb 15, 2010 at 4:16 PM, Simon Andersson > > <[email protected]> wrote: > > > > Hello, > > > > > > > > I got the new version and have tried to build with Qt 4.6.1. > > > > > > > > My build failed. > > > > > > > > QTDIR is /opt/qtsdk-2010.01/qt/ > > > > > > > > Build output below. > > > > > > > > Thanks, > > > > > > > > - Simon > > > > > > > > > > > > > > > > Buildfile: build.xml > > > > > > > > init.ant: > > > > > > > > init.jumptable.do: > > > > > > > > init.jumptable.dont: > > > > > > > > init.taskdef: > > > > > > > > init: > > > > [qtjambi-initialize] qtjambi.osname: linux32 > > > > [qtjambi-initialize] qtjambi.libsubdir: lib > > > > [qtjambi-initialize] qtjambi.qtdir: /opt/qtsdk-2010.01/qt/ > > > > [qtjambi-initialize] qtjambi.compiler: gcc > > > > [qtjambi-initialize] qtjambi.configuration: release > > > > [qtjambi-initialize] qtjambi.phonon: true > > > > [qtjambi-initialize] qtjambi.sqlite: true > > > > [qtjambi-initialize] qtjambi.webkit: true > > > > [qtjambi-initialize] qtjambi.xmlpatterns: true > > > > [qtjambi-initialize] qtjambi.opengl: true > > > > > > > > generator.xmlmerge.core: > > > > > > > > generator.xmlmerge.gui: > > > > > > > > generator.xmlmerge.network: > > > > > > > > generator.xmlmerge.svg: > > > > > > > > generator.xmlmerge.xml: > > > > > > > > generator.xmlmerge.xmlpatterns: > > > > > > > > generator.xmlmerge.opengl: > > > > > > > > generator.xmlmerge.sql: > > > > > > > > generator.xmlmerge.designer: > > > > > > > > generator.xmlmerge.webkit: > > > > > > > > generator.xmlmerge.phonon: > > > > > > > > generator.xmlmerge: > > > > > > > > generator.qmake: > > > > > > > > generator.compile: > > > > > > > > generator.run: > > > > > > > > generator: > > > > > > > > library.native.qmake: > > > > > > > > library.native.compile: > > > > [make] > > > > [make] Running : (/simon/jambi/gitorious/git/qt-jambi) make > > > > [make] cd qtjambi/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi' > > > > [make] make[1]: Nothing to be done for `first'. > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi' > > > > [make] cd juic/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/juic' > > > > [make] make[1]: Nothing to be done for `first'. > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/juic' > > > > [make] cd qtjambi_core/ && make -f Makefile > > > > [make] make[1]: Entering directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi_core' > > > > [make] g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W > > -Wno-unused-function -D_REENTRANT -fPIC -DQT_QTJAMBI_IMPORT -DQT_NO_DEBUG > > -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. > > -I/usr/include/QtCore -I/usr/include -I../qtjambi -I../common > > -I/usr/lib/jvm/java-6-openjdk/include > > -I/usr/lib/jvm/java-6-openjdk/include/linux -I. -I. -o > > qtjambishell_QAbstractItemModel.o > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QModelIndex > > QtJambiShell_QAbstractItemModel::buddy(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:206: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::canFetchMore(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:231: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual void > > QtJambiShell_QAbstractItemModel::childEvent(QChildEvent*)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:254: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:254: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:257: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual int > > QtJambiShell_QAbstractItemModel::columnCount(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:280: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual void > > QtJambiShell_QAbstractItemModel::customEvent(QEvent*)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:303: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:303: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:306: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QVariant > > QtJambiShell_QAbstractItemModel::data(const QModelIndex&, int) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:329: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::dropMimeData(const QMimeData*, > > Qt::DropAction, int, int, const QModelIndex&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:358: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::event(QEvent*)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:380: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:380: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:383: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::eventFilter(QObject*, QEvent*)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:408: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:408: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:411: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual void > > QtJambiShell_QAbstractItemModel::fetchMore(const QModelIndex&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:438: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual Qt::ItemFlags > > QtJambiShell_QAbstractItemModel::flags(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:460: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::hasChildren(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:485: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QVariant > > QtJambiShell_QAbstractItemModel::headerData(int, Qt::Orientation, int) > > const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:510: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QModelIndex > > QtJambiShell_QAbstractItemModel::index(int, int, const QModelIndex&) > > const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:535: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::insertColumns(int, int, const > > QModelIndex&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:560: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::insertRows(int, int, const > > QModelIndex&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:585: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QMap<int, QVariant> > > QtJambiShell_QAbstractItemModel::itemData(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:610: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QList<QModelIndex> > > QtJambiShell_QAbstractItemModel::match(const QModelIndex&, int, const > > QVariant&, int, Qt::MatchFlags) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:654: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QMimeData* > > QtJambiShell_QAbstractItemModel::mimeData(const QList<QModelIndex>&) > > const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:699: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QStringList > > QtJambiShell_QAbstractItemModel::mimeTypes() const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:727: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QModelIndex > > QtJambiShell_QAbstractItemModel::parent(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:763: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::removeColumns(int, int, const > > QModelIndex&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:788: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::removeRows(int, int, const > > QModelIndex&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:813: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual void QtJambiShell_QAbstractItemModel::revert()’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:837: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual int > > QtJambiShell_QAbstractItemModel::rowCount(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:859: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::setData(const QModelIndex&, const > > QVariant&, int)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:886: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::setHeaderData(int, Qt::Orientation, > > const QVariant&, int)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:913: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool > > QtJambiShell_QAbstractItemModel::setItemData(const QModelIndex&, const > > QMap<int, QVariant>&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:952: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual void QtJambiShell_QAbstractItemModel::sort(int, > > Qt::SortOrder)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:978: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual QSize > > QtJambiShell_QAbstractItemModel::span(const QModelIndex&) const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1000: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual bool QtJambiShell_QAbstractItemModel::submit()’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1023: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual Qt::DropActions > > QtJambiShell_QAbstractItemModel::supportedDropActions() const’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1046: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘virtual void > > QtJambiShell_QAbstractItemModel::timerEvent(QTimerEvent*)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1069: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1069: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1072: > > warning: deprecated conversion from string constant to ‘char*’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘bool > > QtJambiShell_QAbstractItemModel::__public_beginMoveColumns(const > > QModelIndex&, int, int, const QModelIndex&, int)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1094: > > error: ‘beginMoveColumns’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘bool > > QtJambiShell_QAbstractItemModel::__public_beginMoveRows(const > > QModelIndex&, int, int, const QModelIndex&, int)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1099: > > error: ‘beginMoveRows’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘void > > QtJambiShell_QAbstractItemModel::__public_beginResetModel()’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1114: > > error: ‘beginResetModel’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘void > > QtJambiShell_QAbstractItemModel::__public_endMoveColumns()’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1159: > > error: ‘endMoveColumns’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘void > > QtJambiShell_QAbstractItemModel::__public_endMoveRows()’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1164: > > error: ‘endMoveRows’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘void > > QtJambiShell_QAbstractItemModel::__public_endResetModel()’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1179: > > error: ‘endResetModel’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > member function ‘void > > QtJambiShell_QAbstractItemModel::__public_setRoleNames(const QHash<int, > > QByteArray>&)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:1194: > > error: ‘setRoleNames’ is not a member of ‘QAbstractItemModel’ > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp: In > > function ‘_jobject* > > Java_com_trolltech_qt_core_QAbstractItemModel__1_1qt_1roleNames__J(JNIEnv > >*, _jobject*, jlong)’: > > > > [make] > > ../cpp/com_trolltech_qt_core/qtjambishell_QAbstractItemModel.cpp:2506: > > error: ‘class QtJambiShell_QAbstractItemModel’ has no member named > > ‘roleNames’ > > > > [make] make[1]: *** [qtjambishell_QAbstractItemModel.o] Error 1 > > > > [make] make: *** [sub-qtjambi_core-make_default-ordered] Error 2 > > > > [make] make[1]: Leaving directory > > `/simon/jambi/gitorious/git/qt-jambi/qtjambi_core' > > > > > > > > > > > > *From:* [email protected] [mailto: > > [email protected]] *On Behalf Of *Helge Fredriksen > > *Sent:* lunedì 8 febbraio 2010 18:35 > > > > > > *Cc:* [email protected] > > > > *Subject:* Re: [Qt-jambi-interest] Fwd: Generator compile error > > > > > > > > Hello Simon, > > > > what version of Qt are you using when trying to build QtJambi? You should > > find a more or less complete build description here > > > > http://qt.gitorious.org/qt-jambi/pages/BuildingFromGit > > > > > > The version we are working on is contained in the communit-port-to-4_6 > > repo (http://qt.gitorious.org/qt-jambi/community-port-to-4_6) > > > > This code should work on 4.5 of Qt as well if you adjust the > > version.properties file. > > > > Best regards, > > Helge Fredriksen > > > > > > Rene wrote: > > > > > > > > ---------- Forwarded message ---------- > > From: *Rene* <[email protected]> > > Date: Mon, Feb 8, 2010 at 5:07 PM > > Subject: Re: [Qt-jambi-interest] Generator compile error > > To: Simon Andersson <[email protected]> > > > > > > git clone git://gitorious.org/qt-jambi/community-port-to-4_6.git this is > > latests code , it works here > > > > > > > > On Mon, Feb 8, 2010 at 5:02 PM, Simon Andersson <[email protected]> > > wrote: > > > > Hi, > > > > > > > > Thanks for the reply! I just got started with Arch Linux and I’m very > > happy about it… previously I worked on Mac and Windows. > > > > > > > > Unfortunately, I get a connection timeout when trying to connect to > > gitorious with > > > > > > > > git clone git://gitorious.org/qt-jambi/qt-jambi.git > > > > > > > > Is the server available? > > > > > > > > Thanks, > > > > > > > > - Simon > > > > > > > > > > > > *From:* Rene [mailto:[email protected]] > > *Sent:* lunedì 8 febbraio 2010 16:16 > > *To:* Simon Andersson > > *Cc:* [email protected] > > *Subject:* Re: [Qt-jambi-interest] Generator compile error > > > > > > > > Hi , nice to see another Archlinux fun . Try latest comunity repository > > on gitorous as peolple around here fixed some building issues there . And > > it is not in 4.5.2. qtjambi.sourceforge,net points you there . > > > > On Mon, Feb 8, 2010 at 2:25 PM, Simon Andersson <[email protected]> > > wrote: > > > > Hi all, > > > > > > > > I have a problem building QtJambi under Arch Linux. I first build Qt, > > which works fine. After invoking ant in the jambi directory, I get the > > output below. It appears that the file preprocessor.cpp does not include > > stdio.h. I have verified that stdio.h is present in /usr/include/. > > > > > > > > Is the build broken or have I set things up incorrectly? > > > > > > > > Thanks, > > > > > > > > - Simon Andersson > > > > > > > > > > > > Buildfile: build.xml > > > > > > > > init.ant: > > > > > > > > (snip) > > > > > > > > init: > > > > [qtjambi-initialize] qtjambi.osname: linux32 > > > > [qtjambi-initialize] qtjambi.libsubdir: lib > > > > [qtjambi-initialize] qtjambi.qtdir: /opt/qtsdk-2010.01/qt/ > > > > [qtjambi-initialize] qtjambi.compiler: gcc > > > > [qtjambi-initialize] qtjambi.configuration: release > > > > > > > > (snip) > > > > > > > > generator.qmake: > > > > > > > > generator.compile: > > > > [make] > > > > [make] Running : (/simon/jambi/qtjambi-src-lgpl-4.5.2_01/generator) > > make > > > > [make] make -f Makefile.Release > > > > [make] make[1]: Entering directory > > `/simon/jambi/qtjambi-src-lgpl-4.5.2_01/generator' > > > > [make] g++ -c -pipe -march=i686 -mtune=generic -O2 -pipe -Wall -W > > -D_REENTRANT -DRXX_ALLOCATOR_INIT_0 -DQT_NO_DEBUG -DQT_XML_LIB > > -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. > > -I/usr/include/QtCore -I/usr/include/QtXml -I/usr/include -I. -I. > > -I../common -Iparser -Iparser/rpp -Iparser/rpp -Irelease -o > > release/preprocessor.o > > parser/rpp/preprocessor.cpp > > > > [make] In file included from parser/rpp/pp.h:100, > > > > [make] from parser/rpp/preprocessor.cpp:54: > > > > [make] parser/rpp/pp-internal.h: In function 'void > > rpp::_PP_internal::output_line(const std::string&, int, > > _OutputIterator)': > > > > [make] parser/rpp/pp-internal.h:75: error: there are no arguments to > > 'snprintf' that depend on a template parameter, so a declaration of > > 'snprintf' must be available > > > > [make] parser/rpp/pp-internal.h:75: note: (if you use > > '-fpermissive', G++ will accept your code, but allowing the use of an > > undeclared name is deprecated) > > > > [make] In file included from parser/rpp/pp.h:105, > > > > [make] from parser/rpp/preprocessor.cpp:54: > > > > [make] parser/rpp/pp-macro-expander.h: In member function > > '_InputIterator rpp::pp_macro_expander::operator()(_InputIterator, > > _InputIterator, _OutputIterator)': > > > > [make] parser/rpp/pp-macro-expander.h:264: error: there are no > > arguments to 'snprintf' that depend on a template parameter, so a > > declaration of 'snprintf' must be available > > > > [make] In file included from parser/rpp/pp.h:107, > > > > [make] from parser/rpp/preprocessor.cpp:54: > > > > [make] parser/rpp/pp-engine-bits.h: In member function 'void > > rpp::pp::file(const std::string&, _OutputIterator)': > > > > [make] parser/rpp/pp-engine-bits.h:81: error: there are no arguments > > to 'fopen' that depend on a template parameter, so a declaration of > > 'fopen' must be available > > > > [make] parser/rpp/pp-engine-bits.h: In member function 'void > > rpp::pp::file(FILE*, _OutputIterator)': > > > > [make] parser/rpp/pp-engine-bits.h:111: error: there are no > > arguments to 'feof' that depend on a template parameter, so a declaration > > of 'feof' must be available > > > > [make] parser/rpp/pp-engine-bits.h:113: error: there are no > > arguments to 'fread' that depend on a template parameter, so a > > declaration of 'fread' must be available > > > > [make] parser/rpp/pp-engine-bits.h:117: error: there are no > > arguments to 'fclose' that depend on a template parameter, so a > > declaration of 'fclose' must be available > > > > [make] In file included from parser/rpp/pp.h:107, > > > > [make] from parser/rpp/preprocessor.cpp:54: > > > > [make] parser/rpp/pp-engine-bits.h: In member function 'FILE* > > rpp::pp::find_include_file(const std::string&, std::string*, > > rpp::pp::INCLUDE_POLICY, bool) const': > > > > [make] parser/rpp/pp-engine-bits.h:273: error: 'fopen' was not > > declared in this scope > > > > [make] parser/rpp/pp-engine-bits.h:286: error: 'fopen' was not > > declared in this scope > > > > [make] parser/rpp/pp-engine-bits.h:312: error: 'fopen' was not > > declared in this scope > > > > [make] make[1]: *** [release/preprocessor.o] Error 1 > > > > [make] make: *** [release] Error 2 > > > > [make] make[1]: Leaving directory > > `/simon/jambi/qtjambi-src-lgpl-4.5.2_01/generator' > > > > > > > > > > > > > > _______________________________________________ > > Qt-jambi-interest mailing list > > [email protected] > > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > > > > > > > > > > -- > > Best Regards / S Pozdravom > > > > Rene Dohan > > > > http://inno-a-dev.blogspot.com > > http://inno-coherences.blogspot.com/ > > http://inove-recepty.blogspot.com > > http://www.facebook.com/rene.dohan > > http://www.qualityunit.com > > > > > > > > > > -- > > Best Regards / S Pozdravom > > > > Rene Dohan > > > > http://inno-a-dev.blogspot.com > > http://inno-coherences.blogspot.com/ > > http://inove-recepty.blogspot.com > > http://www.facebook.com/rene.dohan > > http://www.qualityunit.com > > > > > > > > > > -- > > Best Regards / S Pozdravom > > > > Rene Dohan > > > > http://inno-a-dev.blogspot.com > > http://inno-coherences.blogspot.com/ > > http://inove-recepty.blogspot.com > > http://www.facebook.com/rene.dohan > > http://www.qualityunit.com > > > > > > > > ------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Qt-jambi-interest mailing list > > > > [email protected] > > > > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Qt-jambi-interest mailing list > > [email protected] > > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest > _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
