Trying to include library
-
Im super new to Qt and C++ in general and im trying to include the QMediaPlayer library however its telling me "no such file in directory" I havnt had this issue with any other libraries so im very confused why its happening with this one and also very confused how its expecting me to install it or something
-
Im super new to Qt and C++ in general and im trying to include the QMediaPlayer library however its telling me "no such file in directory" I havnt had this issue with any other libraries so im very confused why its happening with this one and also very confused how its expecting me to install it or something
@NordinCoding said in Trying to include library:
"no such file in directory"
You get this rather than
No such file or directorydo you? When, e.g. when compiling and it hits a#includeline, in which case show the line, or when linking, in which case show the.proorCMakelists.txtfile? Are you using qmake or cmake? Which platform are you on? What version of Qt? -
In addition to what @JonB said, the docu: https://doc.qt.io/qt-6/qmediaplayer.html has a table that lists the needed additions in the
.proorCMakeLists.txt. -
@NordinCoding said in Trying to include library:
"no such file in directory"
You get this rather than
No such file or directorydo you? When, e.g. when compiling and it hits a#includeline, in which case show the line, or when linking, in which case show the.proorCMakelists.txtfile? Are you using qmake or cmake? Which platform are you on? What version of Qt?