Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can QProcess be used with plain C++ project?
Forum Updated to NodeBB v4.3 + New Features

Can QProcess be used with plain C++ project?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 766 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.
  • P Offline
    P Offline
    pranavladkat
    wrote on last edited by
    #1

    Hello,

    I'm completely new to the qt. I was using a plain C++ before for my academic projects so far. Now I'm in need of using an external program (gnuplot) with my code for plotting purpose for which I want to use QProcess.

    So my question is can I use QProcess with plain C++ project? I tried including QProcess header file but it did not work that way.

    thank you for the help.

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      No. For calling external application with QProcess you need to have at least QtCore. "See QProcess":http://qt-project.org/doc/qt-5/QProcess.html which requires QtCore, line "qmake: QT += core".

      Vote the answer(s) that helped you to solve your issue(s)

      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