Switching from Qt4 to Qt5
-
Hi All,
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" ?
-
Hi All,
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.
-
@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 :
- Qt
1.1 labs
1.1.1 folderlistmodel
1.1.2 gesture
1.1.3 particles
1.1.4 shaders - QtWebKit
- Qt
-
@jsulm It was contained 2 subdirectories in "imports" folder. These are :
- Qt
1.1 labs
1.1.1 folderlistmodel
1.1.2 gesture
1.1.3 particles
1.1.4 shaders - QtWebKit
@himanshu-rohilla You can take a look at this: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
QtWebKit is deprecated and not part of recent Qt5 versions. QWebEngine should be used instead. - Qt
-
@himanshu-rohilla You can take a look at this: https://wiki.qt.io/Transition_from_Qt_4.x_to_Qt5
QtWebKit is deprecated and not part of recent Qt5 versions. QWebEngine should be used instead.@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" .
-
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. -
@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 .