sailfishos-applications / filecase

File manager for SailfishOS
Other
8 stars 4 forks source link

[Bug] Building on SailfishOS-OBS fails … #54

Closed Olf0 closed 8 months ago

Olf0 commented 8 months ago

… with Project ERROR: Unknown module(s) in QT: xml

See https://build.sailfishos.org/package/show/home:olf:filecase/filecase or filecase_obs-logfile.txt.

Olf0 commented 8 months ago

@nephros, I assume this OBS-error addresses https://github.com/sailfishos-applications/filecase/blob/devel/filecase.pro#L17 Is there a simple way to rectify this?

P.S.: I wonder why it builds fine with Coderus' SFOS-SDK Docker-images.

nephros commented 8 months ago

Add:

BuildRequires: pkgconfig(Qt5Xml)

to the spec.

There are differences in the build environments wrt. preinstalled development packages, the SDK (on which the coderus image is based on) preinstalls more than the OBS one.

Therefore, .spec files coming from SDK users often need to be amended for the OBS builder.

Olf0 commented 8 months ago

Thank you @nephros, it is compiling fine on SFOS-OBS now.

P.S.: Contributes to resolving issue #28.