Can anynone please help me out in running qtermwidget


(Sunit Gautam) #1

I am trying to include qtermwidget from https://github.com/lxqt/qtermwidget in my project but I am stuck with the error error: qtermwidget_export.h: No such file or directory

Steps to reproduce the error:

  1. create a new qt project.
  2. replace the contents of main.cpp by the contents of examples/main.cpp in the github repo (https://github.com/lxqt/qtermwidget/tree/master/example).
  3. copy paste the lib directory from main github repo page into the project folder

Please let me know what is the correct way of using qtermwidget.


(palinek) #2

No, it’s definitely not. qtermwidget is a library. The best way is to use your package manager to get the library installed.


(Vaibhav Thakkar) #3

@palinek If I want to use this library inside my Qt Application, so how will the example code work ??


(palinek) #4

You need to make yourself familiar with Qt and building application with cmake.