libqt5

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

libqt5

Axel Braun-2
Hi,

I want to build a package that was migrated from qt4 to qt5.
Can one of the QT-Experts point me to the right devel packages? a libqt5-devel
seems not to exist.
https://build.opensuse.org/package/show/home:DocB:branches:Application:Geo/
zyGrib

Thanks
Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Martin Pluskal-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Mon, 2017-01-02 at 13:00 +0100, Axel Braun wrote:

> Hi,
>
> I want to build a package that was migrated from qt4 to qt5.
> Can one of the QT-Experts point me to the right devel packages? a
> libqt5-devel 
> seems not to exist.
> https://build.opensuse.org/package/show/home:DocB:branches:Applicatio
> n:Geo/
> zyGrib
>
> Thanks
> Axel
Hello

Depends on which part of qt5 you need, see i.e. ghostwriter [1] as
example (including pkgconfig() style dependencies.

Cheers

Martin

1. https://build.opensuse.org/package/view_file/editors/ghostwriter/gho
stwriter.spec?expand=1
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwQnJ+Ps8HqIKhK3yWyRdZ/3eaFcFAlhqQzoACgkQWyRdZ/3e
aFerRw/5AdUd0Vdg5nQ/l6Ol4yYKiIYbUeb+oKxkSD1YI+r8Lh4j5uxMmmCaOpSj
IfIBtIsYFFduWtB68AABFrJlZ8n/+01bP8WvknfYeSZ14JAUVFvX5tiCUlDvVMCo
KwA8sVM2C1Fc/+4mYoHTcpnuFeGt0vR0GVvPC+5A6HM9jGnWZxM3bbIHcqv5L1lv
v1iKNO77R+9j85se679axpm2lToXbBtsc6Xh8l3fl7eI+ng5L0WIbLfoc6D1GG4V
/w6Rbh5e0eEFHAf7tLAZptNmdPgzZI74wb2jzBpkCw8tNTUmjYbSTIqdYO2FMJwj
5GL3YHPoDueK3BDXw4bLzWVtJJrISm2OeF+x3cD+WM/yKrbr+gcPiN/w2GD9FPdO
/hydaiq67DFNFYtV4iaA4XCQXIxH0xJbo/+68utfocEQEpZCyz20d6QTyA/4Ti5r
hTustYenAJv7wnpR8nTd8FzxHiCZTqhZbf7o6/if0hkKd7iYnVNF6tClmTSc93ej
KcXoK55K+OSW337wcx0HUlkt7zKLCHbXbW/kS5cuS97u3qIxezpwceF2Nz9JBYCt
Zj+VkJaa+CV1RoveZRuquTdxHR5Iz+z/6/OvXMmZ/C2+dzzFuBwvv4xOnjLEl2xT
dS0icc0DNlZO0OtAAvBZYn/bD0TZo0Th6pVqnfdnXls9MW8YCLs=
=Z38w
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Karl Cheng
In reply to this post by Axel Braun-2
With Qt 5 there isn't "one" devel package -- you'll have to look
through the build scripts and figure out what modules are required.

In your case, this project seems to be using qmake. In the file
"src/zyGrib.pro", you should see the following:

```
QT += widgets xml
QT += printsupport
[snip]
QT += network xml
```

You'll now need to find the corresponding module name on the Qt
website[1]. In this case, this project requires the following modules:

 - Qt Core
 - Qt GUI
 - Qt Widgets
 - Qt Print Support
 - Qt Network
 - Qt XML

 Note that the Core and GUI modules are included by qmake by default,
and should be included as dependencies in the spec file.

To do so, use the C++ include name, but replace "Qt" with "Qt5" and
wrap the name inside "pkgconfig()". For example, if you need the "Qt
D-Bus" module:

```
Requires: pkgconfig(Qt5DBus) >= x.y.z
```

This should work for the vast majority of (if not all) cases -- please
correct me if something is incorrect or missing.

[1]: http://doc.qt.io/qt-5/qtmodules.html

- Karl Cheng (Qantas94Heavy)
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Karl Cheng
Hi, in openSUSE I believe the Qt 5 version is found in
`/usr/bin/qmake-qt5`. You can find the package which has it by running
`cnf qmake-qt5`.

On Tue, 3 Jan 2017, 01:27 Axel Braun <[hidden email]> wrote:

>
> Hello Karl,
>
> Am Montag, 2. Januar 2017, 20:39:50 CET schrieben Sie:
> > With Qt 5 there isn't "one" devel package -- you'll have to look
> > through the build scripts and figure out what modules are required.
> >
> > In your case, this project seems to be using qmake. In the file
> > "src/zyGrib.pro", you should see the following:
> >
> > ```
> > QT += widgets xml
> > QT += printsupport
> > [snip]
> > QT += network xml
> > ```
> >
> > You'll now need to find the corresponding module name on the Qt
> > website[1]. In this case, this project requires the following modules:
> >
> >  - Qt Core
> >  - Qt GUI
> >  - Qt Widgets
> >  - Qt Print Support
> >  - Qt Network
> >  - Qt XML
> >
> >  Note that the Core and GUI modules are included by qmake by default,
> > and should be included as dependencies in the spec file.
> >
> > To do so, use the C++ include name, but replace "Qt" with "Qt5" and
> > wrap the name inside "pkgconfig()". For example, if you need the "Qt
> > D-Bus" module:
> >
> > ```
> > Requires: pkgconfig(Qt5DBus) >= x.y.z
> > ```
> >
> > This should work for the vast majority of (if not all) cases -- please
> > correct me if something is incorrect or missing.
> >
> > [1]: http://doc.qt.io/qt-5/qtmodules.html
>
> That was very helpful, thanks a lot!
> One more thing, as I'm not a C++ developer - where is qmake included? I could
> not find it as package in one of the standard repos
>
> docb@T520:~> zypper se --provides qmake
> S | Name           | Zusammenfassung
> | Typ
> --+----------------
> +----------------------------------------------------------------+------
>   | codelite       | Powerful open-source, cross platform code editor for the
> C/C++ | Paket
>   | debhelper      | Helper programs for debian/rules
> | Paket
>   | kdevelop5      | C++ IDE using KDE technologies based on KDevelop Platform
> | Paket
>   | libqt5-creator | Lightweight IDE
> | Paket
>
> I tried the mentioned packages as build requirement, but still run into the
> problem:
>
> [   94s] make[1]: /usr/bin/qmake: Command not found
>
> Thanks
> Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Axel Braun-2
Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
> Hi, in openSUSE I believe the Qt 5 version is found in
> `/usr/bin/qmake-qt5`. You can find the package which has it by running
> `cnf qmake-qt5`.

Indeed, it is called qmake-qt5.
With this hint I could get one step further, but get now stuck when compiling
the qwt-widgets:

[   71s] compiling qwt_slider.cpp
[   71s] compiling qwt_thermo.cpp
[   71s] compiling qwt_wheel.cpp
[   72s] moc qwt_dyngrid_layout.h
[   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
[   72s] Makefile:739: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp'
failed
[   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
[   72s] make[1]: *** Waiting for unfinished jobs....
[   73s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/
src/qwt-6.1.3/src'

Anyone an idea?

Thanks!
Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Martin Pluskal-2
On 08.01.2017 14:09, Axel Braun wrote:

> Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
>> Hi, in openSUSE I believe the Qt 5 version is found in
>> `/usr/bin/qmake-qt5`. You can find the package which has it by running
>> `cnf qmake-qt5`.
>
> Indeed, it is called qmake-qt5.
> With this hint I could get one step further, but get now stuck when compiling
> the qwt-widgets:
>
> [   71s] compiling qwt_slider.cpp
> [   71s] compiling qwt_thermo.cpp
> [   71s] compiling qwt_wheel.cpp
> [   72s] moc qwt_dyngrid_layout.h
> [   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
> [   72s] Makefile:739: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp'
> failed
> [   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
> [   72s] make[1]: *** Waiting for unfinished jobs....
> [   73s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/
> src/qwt-6.1.3/src'
>
> Anyone an idea?
>
> Thanks!
> Axel
>
Hello

In
https://build.opensuse.org/build/home:DocB:branches:Application:Geo/openSUSE_Tumbleweed/x86_64/zyGrib/_log
I see that build fails due to missing libjasper-devel buildrequirement.

Cheers

M


signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Axel Braun-2
Hi Martin,

Am Sonntag, 8. Januar 2017, 19:17:08 CET schrieb Martin Pluskal:

> On 08.01.2017 14:09, Axel Braun wrote:
> > Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
> >> Hi, in openSUSE I believe the Qt 5 version is found in
> >> `/usr/bin/qmake-qt5`. You can find the package which has it by running
> >> `cnf qmake-qt5`.
> >
> > Indeed, it is called qmake-qt5.
> > With this hint I could get one step further, but get now stuck when
> > compiling the qwt-widgets:
> >
> > [   71s] compiling qwt_slider.cpp
> > [   71s] compiling qwt_thermo.cpp
> > [   71s] compiling qwt_wheel.cpp
> > [   72s] moc qwt_dyngrid_layout.h
> > [   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
> > [   72s] Makefile:739: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp'
> > failed
> > [   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
> > [   72s] make[1]: *** Waiting for unfinished jobs....
> > [   73s] make[1]: Leaving directory
> > '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/ src/qwt-6.1.3/src'
> >
> > Anyone an idea?

> In
> https://build.opensuse.org/build/home:DocB:branches:Application:Geo/openSUSE
> _Tumbleweed/x86_64/zyGrib/_log I see that build fails due to missing
> libjasper-devel buildrequirement.

The error in Tumbleweed is obviously a different one from 42.2, where I was
focused on. After adding libjasper and libpng-devel Tumbleweed builds now.
Error in Leap remains the same.

Thanks
Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Martin Pluskal-2
On 08.01.2017 20:00, Axel Braun wrote:

> Hi Martin,
>
> Am Sonntag, 8. Januar 2017, 19:17:08 CET schrieb Martin Pluskal:
>> On 08.01.2017 14:09, Axel Braun wrote:
>>> Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
>>>> Hi, in openSUSE I believe the Qt 5 version is found in
>>>> `/usr/bin/qmake-qt5`. You can find the package which has it by running
>>>> `cnf qmake-qt5`.
>>>
>>> Indeed, it is called qmake-qt5.
>>> With this hint I could get one step further, but get now stuck when
>>> compiling the qwt-widgets:
>>>
>>> [   71s] compiling qwt_slider.cpp
>>> [   71s] compiling qwt_thermo.cpp
>>> [   71s] compiling qwt_wheel.cpp
>>> [   72s] moc qwt_dyngrid_layout.h
>>> [   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
>>> [   72s] Makefile:739: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp'
>>> failed
>>> [   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
>>> [   72s] make[1]: *** Waiting for unfinished jobs....
>>> [   73s] make[1]: Leaving directory
>>> '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/ src/qwt-6.1.3/src'
>>>
>>> Anyone an idea?
>
>> In
>> https://build.opensuse.org/build/home:DocB:branches:Application:Geo/openSUSE
>> _Tumbleweed/x86_64/zyGrib/_log I see that build fails due to missing
>> libjasper-devel buildrequirement.
>
> The error in Tumbleweed is obviously a different one from 42.2, where I was
> focused on. After adding libjasper and libpng-devel Tumbleweed builds now.
> Error in Leap remains the same.
>
I see

for Leap you need to use more recent compiler than defaul gcc-4.8,
something along:
Index: zyGrib.spec
===================================================================
--- zyGrib.spec (revision c6eaca7520366bef852878999e637894)
+++ zyGrib.spec (working copy)
@@ -29,8 +29,8 @@
 Source2:        %{name}.desktop
 # PATCH-FIX-QWT Fix qwt path
 Patch1:         %{name}624.patch
-BuildRequires:  gcc
-BuildRequires:  gcc-c++
+BuildRequires:  gcc5
+BuildRequires:  gcc5-c++
 #qmake ->
 BuildRequires: codelite
 BuildRequires:  libjpeg-devel
@@ -78,7 +78,11 @@
 %patch1 -p1

 %build
-make %{?_smp_mflags}
+pushd src
+%qmake5
+popd
+#make %{?_smp_mflags} CC=gcc5 CXX=g++-5
+make %{?_smp_mflags} CC=gcc5 CXX=g++-5


With proper conditions around, so that on Factory default compiler will
be used.

Cheers

M



signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Bruno Friedmann-2
On dimanche, 8 janvier 2017 21.16:18 h CET Martin Pluskal wrote:

> On 08.01.2017 20:00, Axel Braun wrote:
> > Hi Martin,
> >
> > Am Sonntag, 8. Januar 2017, 19:17:08 CET schrieb Martin Pluskal:
> >> On 08.01.2017 14:09, Axel Braun wrote:
> >>> Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
> >>>> Hi, in openSUSE I believe the Qt 5 version is found in
> >>>> `/usr/bin/qmake-qt5`. You can find the package which has it by running
> >>>> `cnf qmake-qt5`.
> >>>
> >>> Indeed, it is called qmake-qt5.
> >>> With this hint I could get one step further, but get now stuck when
> >>> compiling the qwt-widgets:
> >>>
> >>> [   71s] compiling qwt_slider.cpp
> >>> [   71s] compiling qwt_thermo.cpp
> >>> [   71s] compiling qwt_wheel.cpp
> >>> [   72s] moc qwt_dyngrid_layout.h
> >>> [   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
> >>> [   72s] Makefile:739: recipe for target
> >>> 'moc/moc_qwt_dyngrid_layout.cpp'
> >>> failed
> >>> [   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
> >>> [   72s] make[1]: *** Waiting for unfinished jobs....
> >>> [   73s] make[1]: Leaving directory
> >>> '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/ src/qwt-6.1.3/src'
> >>>
> >>> Anyone an idea?
> >>
> >> In
> >> https://build.opensuse.org/build/home:DocB:branches:Application:Geo/openS
> >> USE _Tumbleweed/x86_64/zyGrib/_log I see that build fails due to missing
> >> libjasper-devel buildrequirement.
> >
> > The error in Tumbleweed is obviously a different one from 42.2, where I
> > was
> > focused on. After adding libjasper and libpng-devel Tumbleweed builds now.
> > Error in Leap remains the same.
>
> I see
>
> for Leap you need to use more recent compiler than defaul gcc-4.8,
> something along:
> Index: zyGrib.spec
> ===================================================================
> --- zyGrib.spec (revision c6eaca7520366bef852878999e637894)
> +++ zyGrib.spec (working copy)
> @@ -29,8 +29,8 @@
>  Source2:        %{name}.desktop
>  # PATCH-FIX-QWT Fix qwt path
>  Patch1:         %{name}624.patch
> -BuildRequires:  gcc
> -BuildRequires:  gcc-c++
> +BuildRequires:  gcc5
> +BuildRequires:  gcc5-c++
>  #qmake ->
>  BuildRequires: codelite
>  BuildRequires:  libjpeg-devel
> @@ -78,7 +78,11 @@
>  %patch1 -p1
>
>  %build
> -make %{?_smp_mflags}
> +pushd src
> +%qmake5
> +popd
> +#make %{?_smp_mflags} CC=gcc5 CXX=g++-5
> +make %{?_smp_mflags} CC=gcc5 CXX=g++-5
>
>
> With proper conditions around, so that on Factory default compiler will
> be used.
>
> Cheers
>
> M

btw, jasper is considered bad ass software (debian is removing it)
we have jpeg2000 ;-)

--

Bruno Friedmann
 Ioda-Net Sàrl www.ioda-net.ch
 Bareos Partner, openSUSE Member, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot


--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Axel Braun-2
In reply to this post by Martin Pluskal-2
Hello Martin,

Am Sonntag, 8. Januar 2017, 21:16:18 CET schrieb Martin Pluskal:

> On 08.01.2017 20:00, Axel Braun wrote:
> > Hi Martin,
> >
> > Am Sonntag, 8. Januar 2017, 19:17:08 CET schrieb Martin Pluskal:
> >> On 08.01.2017 14:09, Axel Braun wrote:
> >>> Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
> >>>> Hi, in openSUSE I believe the Qt 5 version is found in
> >>>> `/usr/bin/qmake-qt5`. You can find the package which has it by running
> >>>> `cnf qmake-qt5`.
> >>>
> >>> Indeed, it is called qmake-qt5.
> >>> With this hint I could get one step further, but get now stuck when
> >>> compiling the qwt-widgets:
> >>>
> >>> [   71s] compiling qwt_slider.cpp
> >>> [   71s] compiling qwt_thermo.cpp
> >>> [   71s] compiling qwt_wheel.cpp
> >>> [   72s] moc qwt_dyngrid_layout.h
> >>> [   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"
> >>> [   72s] Makefile:739: recipe for target
> >>> 'moc/moc_qwt_dyngrid_layout.cpp'
> >>> failed
> >>> [   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1
> >>> [   72s] make[1]: *** Waiting for unfinished jobs....
> >>> [   73s] make[1]: Leaving directory
> >>> '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/ src/qwt-6.1.3/src'
> >>>
> >>> Anyone an idea?
> >>
> >> In
> >> https://build.opensuse.org/build/home:DocB:branches:Application:Geo/openS
> >> USE _Tumbleweed/x86_64/zyGrib/_log I see that build fails due to missing
> >> libjasper-devel buildrequirement.
> >
> > The error in Tumbleweed is obviously a different one from 42.2, where I
> > was
> > focused on. After adding libjasper and libpng-devel Tumbleweed builds now.
> > Error in Leap remains the same.
>
> I see
>
> for Leap you need to use more recent compiler than defaul gcc-4.8,
> something along:
> Index: zyGrib.spec
> ===================================================================
> --- zyGrib.spec (revision c6eaca7520366bef852878999e637894)
> +++ zyGrib.spec (working copy)
> @@ -29,8 +29,8 @@
>  Source2:        %{name}.desktop
>  # PATCH-FIX-QWT Fix qwt path
>  Patch1:         %{name}624.patch
> -BuildRequires:  gcc
> -BuildRequires:  gcc-c++
> +BuildRequires:  gcc5
> +BuildRequires:  gcc5-c++
>  #qmake ->
>  BuildRequires: codelite
>  BuildRequires:  libjpeg-devel
> @@ -78,7 +78,11 @@
>  %patch1 -p1
>
>  %build
> -make %{?_smp_mflags}
> +pushd src
> +%qmake5
> +popd
> +#make %{?_smp_mflags} CC=gcc5 CXX=g++-5
> +make %{?_smp_mflags} CC=gcc5 CXX=g++-5
>
That patch does unfortunaltey not work, neither for TW nor for Leap.
In Leap it still fails with
[  116s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std"

Why does it take the 4.8-include, and not the 5-include?

docb@T520:~> dir /var/tmp/build-root/openSUSE_Leap_42.2-x86_64/usr/include/c+
+/
insgesamt 0
drwxr-xr-x 1 root root 1296  8. Jan 22:05 4.8
drwxr-xr-x 1 root root 1358  8. Jan 22:05 5

Cheers
Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Martin Pluskal-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, 2017-01-08 at 22:27 +0100, Axel Braun wrote:

> Hello Martin,
>
> Am Sonntag, 8. Januar 2017, 21:16:18 CET schrieb Martin Pluskal:
> > On 08.01.2017 20:00, Axel Braun wrote:
> > > Hi Martin,
> > >
> > > Am Sonntag, 8. Januar 2017, 19:17:08 CET schrieb Martin Pluskal:
> > > > On 08.01.2017 14:09, Axel Braun wrote:
> > > > > Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
> > > > > > Hi, in openSUSE I believe the Qt 5 version is found in
> > > > > > `/usr/bin/qmake-qt5`. You can find the package which has it
> > > > > > by running
> > > > > > `cnf qmake-qt5`.
> > > > >
> > > > > Indeed, it is called qmake-qt5.
> > > > > With this hint I could get one step further, but get now
> > > > > stuck when
> > > > > compiling the qwt-widgets:
> > > > >
> > > > > [   71s] compiling qwt_slider.cpp
> > > > > [   71s] compiling qwt_thermo.cpp
> > > > > [   71s] compiling qwt_wheel.cpp
> > > > > [   72s] moc qwt_dyngrid_layout.h
> > > > > [   72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error
> > > > > at "std"
> > > > > [   72s] Makefile:739: recipe for target
> > > > > 'moc/moc_qwt_dyngrid_layout.cpp'
> > > > > failed
> > > > > [   72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error
> > > > > 1
> > > > > [   72s] make[1]: *** Waiting for unfinished jobs....
> > > > > [   73s] make[1]: Leaving directory
> > > > > '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/ src/qwt-6.1.3/src'
> > > > >
> > > > > Anyone an idea?
> > > >
> > > > In
> > > > https://build.opensuse.org/build/home:DocB:branches:Application
> > > > :Geo/openS
> > > > USE _Tumbleweed/x86_64/zyGrib/_log I see that build fails due
> > > > to missing
> > > > libjasper-devel buildrequirement.
> > >
> > > The error in Tumbleweed is obviously a different one from 42.2,
> > > where I
> > > was
> > > focused on. After adding libjasper and libpng-devel Tumbleweed
> > > builds now.
> > > Error in Leap remains the same.
> >
> > I see
> >
> > for Leap you need to use more recent compiler than defaul gcc-4.8,
> > something along:
> > Index: zyGrib.spec
> > ===================================================================
> > --- zyGrib.spec (revision c6eaca7520366bef852878999e637894)
> > +++ zyGrib.spec (working copy)
> > @@ -29,8 +29,8 @@
> >  Source2:        %{name}.desktop
> >  # PATCH-FIX-QWT Fix qwt path
> >  Patch1:         %{name}624.patch
> > -BuildRequires:  gcc
> > -BuildRequires:  gcc-c++
> > +BuildRequires:  gcc5
> > +BuildRequires:  gcc5-c++
> >  #qmake ->
> >  BuildRequires: codelite
> >  BuildRequires:  libjpeg-devel
> > @@ -78,7 +78,11 @@
> >  %patch1 -p1
> >
> >  %build
> > -make %{?_smp_mflags}
> > +pushd src
> > +%qmake5
> > +popd
> > +#make %{?_smp_mflags} CC=gcc5 CXX=g++-5
> > +make %{?_smp_mflags} CC=gcc5 CXX=g++-5
> >
>
> That patch does unfortunaltey not work, neither for TW nor for Leap.
> In Leap it still fails with
> [  116s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at
> "std"
>
It is building now, I took liberty to commit changes directly to
Application:Geo/zyGrib

Cheers

Martin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwQnJ+Ps8HqIKhK3yWyRdZ/3eaFcFAlhzb8UACgkQWyRdZ/3e
aFe8Cw/9GKYXCl9gUpJzIDNJtu0Ts7b086+CgpekVvsP3w3N50W24q06z4XFi+Jz
w/XrFTAIvpkcrzo2X0RhD8mSHTzx1bthxxju/c+nMi8faNjr0ZOPK00HXRH309kq
kNnh22T+cvHVj2SvfmVjuu/oVuWLGQAGAqRGToImzmUyzAC+NsgGqmzy3g7xNCzz
JekCYHs+O7f65dCJsie2LBIDrSb2rAZQGi4f1ahITz/gVW/3HGS+oyiOTzNDrFXp
ARn1TAjgiuQZoInOs+zzdx7Wb00Sb34clrUefdyxd2IXIXgBXOEWeGbxaXE/oOjx
ia6nHjsubxBrA5osIUG1CKwRWLueoMTmHU/Z7wMWo1tQue7Dv6wi1YRrp79/+Fow
cNfbTjFpQTeujq0luARoGSFxoKGwotMT3mpHo5IdUI/hYI1QG/7n9ZZYm2DQz67d
EoUUi2kbTFkJClYdsyd7PgFsXSd5oNGiedxl4daXYllHsxiO2mEE/DLiq7Sx0BBa
y3yQCUzGIJRIdycuR2Tlu4tADalvhm5DwYqeexWAVFRJT+gbS4LriQOIhIITOSLe
DZuPfClwg2G40/LbdKmkG2sSAo8S50tD31rPNx/iWm+PAKQ/sIMqINYdXpznbk9Y
NAnY1Tts9u2ywtM2mcAdym9q/ANSGCER1BB4qqAji4fPQcvRZv8=
=fouy
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: libqt5

Axel Braun-2
Am Montag, 9. Januar 2017, 12:11:01 CET schrieb Martin Pluskal:
> >
> > That patch does unfortunaltey not work, neither for TW nor for Leap.
> > In Leap it still fails with
> > [  116s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at
> > "std"
>
> It is building now, I took liberty to commit changes directly to
> Application:Geo/zyGrib

Downloaded, installed and tested - works perfect.

Thanks for your help!
Axel
--
To unsubscribe, e-mail: [hidden email]
To contact the owner, e-mail: [hidden email]