FS#66359 - networkmanager-qt includes broken

Attached to Project: Arch Linux
Opened by luntik2012 (luntik2012) - Thursday, 23 April 2020, 11:19 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 23 April 2020, 11:44 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It's necessary to use includes like <KF5/NetworkManagerQt/networkmanagerqt/manager.h> to avoid hardcoded paths in build system, but nm-qt inside has includes like <networkmanagerqt/networkmanagerqt_export.h>, so it's impossible to build program without hardcoded or searched paths in build system.

Additional info:
* package version: 5.69.0-2
* config and/or log files etc: -
* link to upstream bug report, if any: is it possible to place networkmanagerqt dir directly inside /usr/include ?

Steps to reproduce:
use #include <KF5/NetworkManagerQt/networkmanagerqt/manager.h> in any qt program
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 23 April 2020, 11:44 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Either use cmake to pass the correct include dirs, or manually add -I/usr/include/KF5/NetworkManagerQt

Loading...