76
Programming / Re: Qt6
« on: November 20, 2022, 09:47:16 pm »
Hi
Finaly i got it working
Finaly i got it working
OS2World.com Forum is back !!!
Remember to visit OS2World at:
http://www.os2world.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi all,
After a recompile the build succeed
INstall went fine, but also complains that it cannot find the OS2 platform plugin
So far so good
qTorrent\qt6>G:\qt6\bin\qmake6.exe -r ../
Cannot find feature spec_pre.prf
Error processing project file: ..\qTorrent.pro
So it seems the structure for qt6 is not good, or unfindable ?
Also notice that qt6 have .a instead of .lib
I have build now iqpuzzle-1.2.7
Had to change some things in the qt6 build structure
Like add a qt6/libexec and copy there the uic moc and rcc file
g:/qt6/mkspecs/features/toolchain.prf:76: Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: failed to parse default search paths from compiler output
This get fixed if i copy a .qmake.stash in root of the dir
Then it complains @ make: *** No rule to make target `g:/qt6/lib/Qt6Widgets.lib', needed by `iQPuzzle.exe'. Stop
change in makefile the lib to qt6widgets_dll.a that solved this error
But after compiling it still ask for the os2 platform plugin...
F:\iqpuzzle-1.2.7\qmake1220-os2>chkdll32 iQPuzzle.exe
Loading DLL 'libcn0' --> C:\USR\LIB\LIBCN0.DLL.
Loading DLL 'libcx0' --> C:\USR\LIB\LIBCX0.DLL.
Loading DLL 'Qt6Core6' --> G:\QT6\LIB\QT6CORE6.DLL.
Loading DLL 'gcc1' --> C:\USR\LIB\GCC1.DLL.
Loading DLL 'Qt6Widg6' --> G:\QT6\LIB\QT6WIDG6.DLL.
Loading DLL 'Qt6Gui6' --> G:\QT6\LIB\QT6GUI6.DLL.
Loading DLL 'stdcpp6' --> C:\USR\LIB\STDCPP6.DLL.
All DLL's used by 'iQPuzzle.exe' could be loaded.
Hi all,
After a recompile the build succeed
INstall went fine, but also complains that it cannot find the OS2 platform plugin
So far so good
qTorrent\qt6>G:\qt6\bin\qmake6.exe -r ../
Cannot find feature spec_pre.prf
Error processing project file: ..\qTorrent.pro
So it seems the structure for qt6 is not good, or unfindable ?
Also notice that qt6 have .a instead of .lib
I have build now iqpuzzle-1.2.7
Had to change some things in the qt6 build structure
Like add a qt6/libexec and copy there the uic moc and rcc file
g:/qt6/mkspecs/features/toolchain.prf:76: Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: failed to parse default search paths from compiler output
This get fixed if i copy a .qmake.stash in root of the dir
Then it complains @ make: *** No rule to make target `g:/qt6/lib/Qt6Widgets.lib', needed by `iQPuzzle.exe'. Stop
change in makefile the lib to qt6widgets_dll.a that solved this error
But after compiling it still ask for the os2 platform plugin...
hmmm this code is wrapped around QT_NO_IPV6 which should be defined... I'll investigate...
You could try adding:Code: [Select]qt_internal_extend_target(Network CONDITION os2
DEFINES
QT_NO_IPV6
)
to src/network/CMakeLists.txt