Switching from Qt4 to Qt5
Himanshu Rohilla last edited by aha_1980
When I was using Qt4.8, there was a folder named "imports" in its installation path for say "C:/Qt/4.8" . I switched to Qt5.12.4 . Now, this folder is not available.
Is it permanently deprecated or it is replaced with a folder named "qml" ?
@himanshu-rohilla What was in that folder? QML stuff is in subdirectory "qml" in Qt5.
@jsulm It was contained 2 subdirectories in "imports" folder. These are :
@jsulm Thank you jsulm..
I know that QtWebKit is deprecated in Qt5.
Earlier, I configure and generate VLC-Qt code in CMake with Qt4. There is an entry "QT_IMPORTS_DIR" and "imports" subdirectory was its value.
But now I want to compile VLC-Qt with Qt5. What should be value of "QT_IMPORTS_DIR" entry while using Qt5 ?
Also it shows a message regarding Qt5
"Found unsuitable Qt version "5.12.4" from C:/Qt/Qt5.12.4/5.12.4/msvc2017/bin/qmake.exe" .
@himanshu-rohilla Are you trying to compile recent version of VLC-QT?
Because https://github.com/vlc-qt/vlc-qt/blob/master/BUILDING.md says that Qt >= 5.5 is recommended, so it should work.
Read that BUILDING.md file and build like described there.
@jsulm No. I am not compiling recent version of VLC-Qt .
I think I should try latest VLC-QT .