[utilities/konsole] src: Export ShellCommand symbols from library konsoleprivate

Friedrich W. H. Kossebau <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d8260e1a066ae3734d67099a4de69982cf9b9299 by Friedrich W. H. Kossebau.
Committed on 07/08/2026 at 17:55.
Pushed by kossebau into branch 'master'.

Export ShellCommand symbols from library konsoleprivate

As the class is also used from the library konsoleapp.

Currently the missing export is shadowed by konsoleprivate_core being
in the public link interface of konsoleprivate, thus code duplicated by
konsoleapp usages,

M  +3    -1    src/ShellCommand.h

https://invent.kde.org/utilities/konsole/-/commit/d8260e1a066ae3734d67099a4de69982cf9b9299

diff --git a/src/ShellCommand.h b/src/ShellCommand.h
index 99856f316..c671f6c54 100644
--- a/src/ShellCommand.h
+++ b/src/ShellCommand.h
@@ -9,6 +9,8 @@
 
 // Qt
 #include <QStringList>
+// Konsole
+#include "konsoleprivate_export.h"
 
 namespace Konsole
 {
@@ -33,7 +35,7 @@ namespace Konsole
  *      </li>
  * </ul>
  */
-class ShellCommand
+class KONSOLEPRIVATE_EXPORT ShellCommand
 {
 public:
     /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.