Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Creator Plugin write to "Compile Output" window
Forum Updated to NodeBB v4.3 + New Features

QT Creator Plugin write to "Compile Output" window

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 483 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • LeviL Offline
    LeviL Offline
    Levi
    wrote on last edited by
    #1

    Hello,

    I am currently developing a project manger plugin for ROS Industrial work spaces. I have added functionality which call ROS specific commands using the QProcess object. I am looking for a way to write the output of the QProcess to the "Compile Output" window. I get the "Compile Output" window object using the plugin manager but when I try to cast the object I am receiving the error below. Is this the correct approach to writing to the "Compile Output" window?

    QObject *ap p= ExtensionSystem::PluginManager::getObjectByClassName(QLatin1String("ProjectExplorer::Internal::CompileOutputWindow"));
    
    ProjectExplorer::Internal::CompileOutputWindow *capp = qobject_cast<ProjectExplorer::Internal::CompileOutputWindow *>(app);
    

    Error:
    .obj/debug-shared/ros_project_plugin.o: In function ProjectExplorer::Internal::CompileOutputWindow* qobject_cast<ProjectExplorer::Internal::CompileOutputWindow*>(QObject*)': /usr/include/qt5/QtCore/qobject.h:522: undefined reference to ProjectExplorer::Internal::CompileOutputWindow::staticMetaObject'

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved