Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Accessing ubuntu relative path
houmingc last edited by houmingc
In Qt, i have no problem accessing file in absolute path but not relative path as in the code below.
sneubert last edited by
This sould work for running your application in /opt. You can check the Path with something like
qDebug() << QDir(".").absoluteFilePath("TMP00000000.xml");
Maybe your just running in the wrong dir.