Re: problems compiling subsurface 4.4 on fedora 18

2015-02-18 Thread Michele Fabi
2015-02-18 1:33 GMT+01:00 Dirk Hohndel d...@hohndel.org: On Wed, Feb 18, 2015 at 12:36:01AM +0100, Michele Fabi wrote: 2015-02-17 23:14 GMT+01:00 Dirk Hohndel d...@hohndel.org: Hi and thanks for the script. It still exit because it can't find libssrfmarblewidget that is located here:

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-18 Thread Dirk Hohndel
On Wed, Feb 18, 2015 at 12:04:59PM +0100, Michele Fabi wrote: Ego annuntio vobis gaudium magnum! We have subsurface 4.4 on fedora 18!! Just one thing, there is no subsurface/scripts/run.sh, I launched the subsurface executable under subsurface directory. Yep, I figured out a way that you

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Dirk Hohndel
On Wed, Feb 18, 2015 at 12:36:01AM +0100, Michele Fabi wrote: 2015-02-17 23:14 GMT+01:00 Dirk Hohndel d...@hohndel.org: Hi and thanks for the script. It still exit because it can't find libssrfmarblewidget that is located here:

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Michele Fabi
2015-02-17 12:50 GMT+01:00 Lubomir I. Ivanov neolit...@gmail.com: if you haven't updated yet, you can save locally the raw email / patch i've just sent to the mailing list: [PATCH] simplewidgets.cpp: QLineEdit::setClearButtonEnabled() is from Qt5.2 move it to the Subsurface source folder and

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Lubomir I. Ivanov
On 17 February 2015 at 16:01, Michele Fabi fabie...@gmail.com wrote: Done, and here the result. /usr/bin/ld: cannot find -lssrfmarblewidget collect2: error: ld returned 1 exit status make: *** [subsurface] Error 1 it says that a our localized version of the marblewidget cannot be found.

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Lubomir I. Ivanov
On 17 February 2015 at 17:14, Dirk Hohndel d...@hohndel.org wrote: linking subsurface .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x188): undefined reference to `QWidget::styleChange(QStyle)' .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x190): undefined

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Dirk Hohndel
On Feb 17, 2015, at 6:38 AM, Michele Fabi fabie...@gmail.com wrote: But first switch to the v4.4.0 tag, please /D Ok. Done. I noticied that /home/michele/src/marble-build/ does contain src/lib/marble but not an include directory. This is funny. In a sad way. I always felt that asking

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Michele Fabi
2015-02-17 16:02 GMT+01:00 Dirk Hohndel d...@hohndel.org: On Feb 17, 2015, at 6:38 AM, Michele Fabi fabie...@gmail.com wrote: But first switch to the v4.4.0 tag, please /D Ok. Done. I noticied that /home/michele/src/marble-build/ does contain src/lib/marble but not an include

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Lubomir I. Ivanov
On 17 February 2015 at 15:42, Michele Fabi fabie...@gmail.com wrote: DivelogsDeWebServices::prepare_dives_for_divelogs(const QString, bool)’: qt-ui/subsurfacewebservices.cpp:129:85: error: invalid use of incomplete type ‘class QDebug’ try applying this patch as well (attached): git am

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Dirk Hohndel
On Feb 17, 2015, at 6:09 AM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 17 February 2015 at 16:01, Michele Fabi fabie...@gmail.com wrote: Done, and here the result. /usr/bin/ld: cannot find -lssrfmarblewidget collect2: error: ld returned 1 exit status make: *** [subsurface] Error 1

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Michele Fabi
2015-02-17 15:28 GMT+01:00 Dirk Hohndel d...@hohndel.org: On Feb 17, 2015, at 6:09 AM, Lubomir I. Ivanov neolit...@gmail.com wrote: On 17 February 2015 at 16:01, Michele Fabi fabie...@gmail.com wrote: Done, and here the result. /usr/bin/ld: cannot find -lssrfmarblewidget collect2:

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Lubomir I. Ivanov
On 17 February 2015 at 16:38, Michele Fabi fabie...@gmail.com wrote: qt-ui/simplewidgets.cpp:577:25: error: ‘class QLineEdit’ has no member named ‘setClearButtonEnabled’ make: *** [.obj/simplewidgets.o] Error 1 [michele@localhost subsurface]$ you need to apply the two patches i've sent again

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Michele Fabi
2015-02-17 15:49 GMT+01:00 Lubomir I. Ivanov neolit...@gmail.com: On 17 February 2015 at 16:38, Michele Fabi fabie...@gmail.com wrote: qt-ui/simplewidgets.cpp:577:25: error: ‘class QLineEdit’ has no member named ‘setClearButtonEnabled’ make: *** [.obj/simplewidgets.o] Error 1

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Michele Fabi
2015-02-17 16:16 GMT+01:00 Dirk Hohndel d...@hohndel.org: On Feb 17, 2015, at 7:12 AM, Michele Fabi fabie...@gmail.com wrote: Thanks for your help Dirk. I have no hurry to use subsurface on this laptop so I can indifferently wait for a 4.4.1 version or upgrade my laptop, but I don't want

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Dirk Hohndel
On Feb 17, 2015, at 7:12 AM, Michele Fabi fabie...@gmail.com wrote: Thanks for your help Dirk. I have no hurry to use subsurface on this laptop so I can indifferently wait for a 4.4.1 version or upgrade my laptop, but I don't want to force the team to write a newer version, if it isn't

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Thiago Macieira
On Tuesday 17 February 2015 18:11:46 Lubomir I. Ivanov wrote: .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x188): undefined reference to `QWidget::styleChange(QStyle)' .obj/moc_globe.o:(.data.rel.ro._ZTV8GlobeGPS[_ZTV8GlobeGPS]+0x190): undefined reference to

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Lubomir I. Ivanov
On 17 February 2015 at 03:27, Michele Fabi fabie...@gmail.com wrote: This is the laptop I use for work (and all the rest :) and I procrastinated the upgrade for lack of time and a bit of laziness. F18 is ok for all I need. (well, it was...) Another reason for using git version is that my dive

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Dirk Hohndel
On Tue, Feb 17, 2015 at 04:28:43PM +0100, Michele Fabi wrote: 2015-02-17 16:16 GMT+01:00 Dirk Hohndel d...@hohndel.org: On Feb 17, 2015, at 7:12 AM, Michele Fabi fabie...@gmail.com wrote: Thanks for your help Dirk. I have no hurry to use subsurface on this laptop so I can

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-17 Thread Michele Fabi
I'm sorry for the wild quoting: @Dirk Can you send the output of qmake-qt5 -v I wonder if we use features that require 5.3 (that's the lowest that I have been compiling with, lately). Dirk, Here it is [michele@localhost subsurface]$ qmake-qt5 -v QMake version 3.0 Using Qt version 5.1.1 in

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-16 Thread Michele Fabi
hello, Qt4 is no longer supported by Subsurface. you should install the Qt5 developer packages and use the appropriate Qt5 qmake command to build the application. lubomir -- Thank you for your quick reply. To tell the truth I already tried to compile with qmake-qt5, but it doen't work:

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-16 Thread Lubomir I. Ivanov
On 17 February 2015 at 02:58, Michele Fabi fabie...@gmail.com wrote: hello, Qt4 is no longer supported by Subsurface. you should install the Qt5 developer packages and use the appropriate Qt5 qmake command to build the application. lubomir -- Thank you for your quick reply. To tell the

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-16 Thread Lubomir I. Ivanov
On 17 February 2015 at 02:23, Michele Fabi fabie...@gmail.com wrote: Hello, I'm trying to compile subsurface on my f18 following the instructions reported in the website. I succesfully compiled libdivecomputer and cloned subsurface git repository. qmake-qt4 also work, but make command gives me

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-16 Thread Dirk Hohndel
On February 16, 2015 4:57:53 PM Michele Fabi fabie...@gmail.com wrote: hello, Qt4 is no longer supported by Subsurface. you should install the Qt5 developer packages and use the appropriate Qt5 qmake command to build the application. lubomir -- Thank you for your quick reply. To

Re: problems compiling subsurface 4.4 on fedora 18

2015-02-16 Thread Dirk Hohndel
On Tue, Feb 17, 2015 at 02:27:41AM +0100, Michele Fabi wrote: This is the laptop I use for work (and all the rest :) and I procrastinated the upgrade for lack of time and a bit of laziness. F18 is ok for all I need. (well, it was...) Except for security as there are quite a few known exploits

Re: Problems compiling Subsurface

2014-11-14 Thread Lubomir I. Ivanov
On 14 November 2014 12:36, Benjamin nyst...@gmail.com wrote: Today, I synced the git tree and when I tried to compile I got the following error: qt-ui/printdialog.cpp:17:21: fatal error: QMarginsF: No such file or directory #include QMarginsF ^ compilation terminated.

Re: Problems compiling Subsurface

2014-11-14 Thread Robert Helling
On 14.11.2014, at 12:15, Lubomir I. Ivanov neolit...@gmail.com wrote: Hi, Today, I synced the git tree and when I tried to compile I got the following error: qt-ui/printdialog.cpp:17:21: fatal error: QMarginsF: No such file or directory #include QMarginsF ^

Re: Problems compiling Subsurface

2014-11-14 Thread Lubomir I. Ivanov
On 14 November 2014 13:34, Robert Helling hell...@atdotde.de wrote: On 14.11.2014, at 12:15, Lubomir I. Ivanov neolit...@gmail.com wrote: Hi, Today, I synced the git tree and when I tried to compile I got the following error: qt-ui/printdialog.cpp:17:21: fatal error: QMarginsF: No such

Re: Problems compiling Subsurface

2014-11-14 Thread Benjamin
I'll try later on tonight. Real-life has this nasty habit of sneaking up on one and causing delays :( Benjamin On 14 Nov 2014 13:46, Lubomir I. Ivanov neolit...@gmail.com wrote: On 14 November 2014 13:34, Robert Helling hell...@atdotde.de wrote: On 14.11.2014, at 12:15, Lubomir I. Ivanov

Re: Problems compiling Subsurface

2014-11-14 Thread Robert C. Helling
On 14 Nov 2014, at 12:46, Lubomir I. Ivanov neolit...@gmail.com wrote: Lubomir, can you or Benjamin give the attached patch a try? apparently some of the stuff i've added for the Print part yesterday is quite new in Qt and it breaks older builds... better, but the compiler still complains.