OS/2, eCS & ArcaOS - Technical > Programming

Qt6 Development

<< < (160/161) > >>

David McKenna:
 Fingers crossed! Thanks for keeping us updated on your progress Paul.

Regards,

Paul Smedley:
<sigh> it didn't help

Dave Yeo:

--- Quote from: Paul Smedley on June 01, 2024, 10:35:05 pm ---weird, working for me...

--- Code: ---{0}[u:\dev\dooble] mkdir obj

{0}[u:\dev\dooble] cd obj

{0}[u:\dev\dooble\obj] qmake ..\dooble.pro
Project MESSAGE: The QtCharts module has been discovered.

{0}[u:\dev\dooble\obj] qmake --version
QMake version 3.1
Using Qt version 6.2.8 in U:/QT6-6.2.X/lib

--- End code ---

--- End quote ---

One change here is that with fix, Dooble now acts as a PM app, VIO window disappears until Dooble exits, rather then morphing to PM, which left the VIO window outputting mostly stderr. You should check your Dooble's stderr. lots of messages.
attaching my .qmake.stash for comparing with yours. Mine created in my Qt6 dev environment, qmake-qt5 ../dooble.pro

Paul Smedley:
Hi Dave,

I didn't actually rebuild dooble, I just confirmed qmake ran successfully.  I would have thought the PM morphing would match the Qt5 behaviour,  noting that I haven't build or used a qt5 dooble in some time....

Attached my .qmake-stash generated with qt6 qmake

Cheers,

Paul

Dave Yeo:
No, Qt5 Dooble has always morphed here, unlike Qt6 Dooble.
After converting line endings (?) and changing the drive letter, here's the diff,

--- Code: ------ .qmake.stash-1.txt  2024-06-03 21:03:10.000000000 -0700
+++ .qmake.stash.txt    2024-06-02 19:20:38.000000000 -0700
@@ -8,6 +8,8 @@
     QMAKE_GCC_MINOR_VERSION \
     QMAKE_GCC_PATCH_VERSION
 QMAKE_CXX.INCDIRS = \
+    L:/qt6-6.2.x/include \
+    W:/usr/include \
     W:/usr/include/c++/9 \
     W:/usr/include/c++/9/i686-pc-os2-emx \
     W:/usr/include/c++/9/backward \
@@ -23,5 +25,6 @@
 QMAKE_CXX.LIBDIRS = \
     W:/usr/lib/gcc/i686-pc-os2-emx/9 \
     W:/usr/lib/gcc \
+    L:/qt6-6.2.x/lib \
     W:/usr/lib \
     /@unixroot/usr/lib

--- End code ---

Which brings up the question of how your environment is finding the Qt6 stuff. My qt6dev.cmd,

--- Code: ---set QT6_ROOT=L:
set C_INCLUDE_PATH=%QT6_ROOT%/qt6-6.2.x/include;%UNIXROOT%/usr/include;%UNIXROOT/usr/local/include;%C_INCLUDE_PATH%
set CPLUS_INCLUDE_PATH=%C_INCLUDE_PATH%
set LIBRARY_PATH=%QT6_ROOT%/qt6-6.2.x/lib;%UNIXROOT%/usr/lib;%UNIXROOT/usr/local/lib;%LIBRARY_PATH%
set PATH=%QT6_ROOT%\qt6-6.2.x\bin;%PATH%
set BEGINLIBPATH=%QT6_ROOT%\qt6-6.2.x\lib;%BEGINLIBPATH%

--- End code ---

As you can see, @unixroot is W: here and I have qt6-6.2.x installed in the root of L:

Edit: Now I see typos, dropped %. I'll fix and retest.
Edit2: No change, nothing in usr/local that matters anyways

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version