GammaRay icon indicating copy to clipboard operation
GammaRay copied to clipboard

Why GAMMARAY_PROBE_ONLY_BUILD implies skipping install?

Open Kentzo opened this issue 1 year ago • 2 comments

What is the principal reason for skipping installation of headers, pri and cmake files in probe-only builds? In my fork I allowed this installation and nothing bad happened, generated files seem appropriate.

Take a look at https://github.com/KDAB/GammaRay/pull/929, I wonder if this extra variable is necessary at all.

Kentzo avatar Jan 17 '24 21:01 Kentzo

My particular problem is that header for the static probe will never get installed.

Kentzo avatar Jan 18 '24 07:01 Kentzo

It's feasible to resolve this installation issue + provide better linking experience for static plugins that avoids manual [Q_IMPORT_PLUGIN](https://doc.qt.io/qt-6/qtplugin.html#Q_IMPORT_PLUGIN) (at least for Qt6 users).

I will make a PR once all preliminary changes get merged into the project.

Kentzo avatar Jan 24 '24 20:01 Kentzo