Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Using QProcess for launching linux commands

Using QProcess for launching linux commands

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 501 Views
  • 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.
  • D Offline
    D Offline
    danmar94
    wrote on last edited by
    #1

    Hello everybody, I am developing a project using Qt Creator 3.0.1(based on Qt 5.2.1) for a Renesas RZ/A1H board. The board itself runs on linux kernel 3.14. I wish to launch a system command(such as mkdir, ls etc) from a Qt application, however during compilation of the Qt project I always get this error

    QProcess was not declared in this scope
    

    even though I specified in mainwindow.c

    #include <QProcess>
    

    Any help would be much appreciated.

    aha_1980A 1 Reply Last reply
    0
    • D danmar94

      Hello everybody, I am developing a project using Qt Creator 3.0.1(based on Qt 5.2.1) for a Renesas RZ/A1H board. The board itself runs on linux kernel 3.14. I wish to launch a system command(such as mkdir, ls etc) from a Qt application, however during compilation of the Qt project I always get this error

      QProcess was not declared in this scope
      

      even though I specified in mainwindow.c

      #include <QProcess>
      

      Any help would be much appreciated.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @danmar94 you need to verify that your Qt was build with QProcess support. It might be disabled in the configuration when Qt was built.

      Qt has to stay free or it will die.

      1 Reply Last reply
      2

      • Login

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