Unsolved Opening the VLC Source in QtCreator
-
Hi
I was trying to open the VLC source in QtCreator. First of all, I needed a
.pro
file to open a project.
For this, I ranqmake -project
in the root folder. This made a pro file using which I opened the project.However, I can't edit the qml files in design mode, errors like
item could not be created
orinvalid property name
come.
Also I get a lot of file not found, unknown types even for simple things likeQMenu
used in source files.Most probably the project file has not been made properly.
One thing I had to do before compiling on the command line was to set the PKG_CONFIG path
export PKG_CONFIG_PATH=/opt/qt511/lib/pkgconfig/
So I added that to the build variables and customised the build settings to match the method I use in the command line.
I can build and run the project. But still cant edit qml in design mode.
VLC Source I'm using:
Github link
Link to the project file:
My pro file
VLC Build Method:
Link
-
I solved a lot of imports by including
QT += quick QT += widgets
And I guess this is the reason I can't edit files in design mode
https://felgo.com/developers/forums/t/troubles-using-designer-in-qt-creator