Show Posts

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.


Messages - TeLLie

Pages: 1 ... 4 5 [6] 7 8 ... 16
76
Programming / Re: Qt6
« on: November 20, 2022, 09:47:16 pm »
Hi
Finaly i got it working :)


77
Programming / Re: Qt6
« on: November 20, 2022, 02:56:14 pm »
Hi Paul,
Have to correct my previous answer about you're build, thats working.

But i did a clean build and then install it to g:/qt6 but its still says it cannot find plugin

Is there some change that you dint push yet or?

I tried to compile qt6-declarative-os2
Had to compile qt6-shadertools-os2 first
That build fine.

But if i search on the link error i see thats the error inside the Qt6Shad6.dll but not in the .a file.


file D:\temp\ldconv_libstdc++_a_2997637a5b1a199520.lib(cxx11-ios_failure.obj): undefined symbol __ZNSt12system_errorC2ESt10error_codeRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
file D:\temp\ldconv_libstdc++_a_2997637a5b1a199520.lib(cxx11-ios_failure.obj): undefined symbol __ZNSt12system_errorC2ESt10error_codePKc

78
Programming / Re: Qt6
« on: November 20, 2022, 11:16:56 am »
Hi Paul,

I rebuild it with the latest changes you make but it still asked for the os2 plugin.
Did you do something others or??

I also tried you're build and see same...
F:\qt6\lib>helloworldgui.exe
qt.qpa.plugin: Could not find the Qt platform plugin "os2" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.


79
Programming / Re: Qt6
« on: November 19, 2022, 01:05:51 pm »
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 :P

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.


80
Programming / Re: Qt6
« on: November 19, 2022, 01:03:37 pm »
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 :P

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...

81
Programming / Re: Qt6
« on: November 19, 2022, 11:11:51 am »
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 :P

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 ?

82
Programming / Re: Qt6
« on: November 19, 2022, 12:26:07 am »
Hihi

I get same error now to...

G:/qt6-dev/src/printsupport/PrintSupport_autogen/2NRMJ5X7RK/moc_qprintdialog.cpp:93:29: error: invalid use of incomplete type 'class QPrintDialogPrivate'
   93 |         case 1: _t->d_func()->_q_togglePageSetCombo((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
      |                             ^~
In file included from G:/qt6-dev/src/printsupport/PrintSupport_autogen/2NRMJ5X7RK/moc_qprintdialog.cpp:10:
G:/qt6-os2/src/printsupport/dialogs/qprintdialog.h:51:7: note: forward declaration of 'class QPrintDialogPrivate'
   51 | class QPrintDialogPrivate;
      |       ^~~~~~~~~~~~~~~~~~~
G:/qt6-dev/src/printsupport/PrintSupport_autogen/2NRMJ5X7RK/moc_qprintdialog.cpp:94:29: error: invalid use of incomplete type 'class QPrintDialogPrivate'
   94 |         case 2: _t->d_func()->_q_collapseOrExpandDialog(); break;
      |                             ^~
G:/qt6-os2/src/printsupport/dialogs/qprintdialog.h:51:7: note: forward declaration of 'class QPrintDialogPrivate'
   51 | class QPrintDialogPrivate;
      |       ^~~~~~~~~~~~~~~~~~~
G:/qt6-dev/src/printsupport/PrintSupport_autogen/2NRMJ5X7RK/moc_qprintdialog.cpp:95:29: error: invalid use of incomplete type 'class QPrintDialogPrivate'
   95 |         case 3: _t->d_func()->_q_checkFields(); break;
      |                             ^~
G:/qt6-os2/src/printsupport/dialogs/qprintdialog.h:51:7: note: forward declaration of 'class QPrintDialogPrivate'


BTw...

the latest push you made about #include <QtEventDispatcherSupport/private/qos2guieventdispatcher_p.h>
I get here a error that it could not find file.....
If i change to #include <QtGui/Support/private/qos2guieventdispatcher_p.h>
Then it is ok

83
Programming / Re: Qt6
« on: November 18, 2022, 10:56:17 pm »
Hi

I had indeed use the fix you have pushed, i had the fix taken from qt5

84
Programming / Re: Qt6
« on: November 18, 2022, 07:35:30 pm »
Hi
After set beginpath i see now this error:
I have notting in popup.log


G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp: In constructor 'QOffscreenIntegration::QOffscreenIntegration()':
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:102:30: error: expected type-specifier before 'QGenericUnixFontDatabase'
  102 |     m_fontDatabase.reset(new QGenericUnixFontDatabase());
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp: In member function 'virtual QAbstractEventDispatcher* QOffscreenIntegration::createEventDispatcher() const':
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:243:42: error: 'QEventDispatcherOS2' was not declared in this scope
  243 |     return new QOffscreenEventDispatcher<QEventDispatcherOS2>();
      |                                          ^~~~~~~~~~~~~~~~~~~
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:243:61: error: template argument 1 is invalid
  243 |     return new QOffscreenEventDispatcher<QEventDispatcherOS2>();
      |                                                             ^
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp: In member function 'virtual const QFont* OffscreenTheme::font(QPlatformTheme::Font) const':
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:288:46: error: variable 'QFont systemFont' has initializer but incomplete type
  288 |         static QFont systemFont(QLatin1String("Sans Serif"), 9);
      |                                              ^
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:289:45: error: variable 'QFont fixedFont' has initializer but incomplete type
  289 |         static QFont fixedFont(QLatin1String("monospace"), 9);
      |                                             ^
In file included from G:/qt6-dev/include/QtCore/qscopedpointer.h:1,
                 from G:/qt6-os2/src/corelib/serialization/qdatastream.h:43,
                 from G:/qt6-dev/include/QtCore/qdatastream.h:1,
                 from G:/qt6-os2/src/corelib/kernel/qmetatype.h:52,
                 from G:/qt6-dev/include/QtCore/qmetatype.h:1,
                 from G:/qt6-os2/src/gui/kernel/qplatformscreen.h:53,
                 from G:/qt6-dev/include/QtGui/6.2.4/QtGui/qpa/qplatformscreen.h:1,
                 from G:/qt6-os2/src/gui/kernel/qplatformintegration.h:54,
                 from G:/qt6-dev/include/QtGui/6.2.4/QtGui/qpa/qplatformintegration.h:1,
                 from G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.h:43,
                 from G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:40:
G:/qt6-os2/src/corelib/tools/qscopedpointer.h: In instantiation of 'static void QScopedPointerDeleter<T>::cleanup(T*) [with T = QPlatformFontDatabase]':
G:/qt6-os2/src/corelib/tools/qscopedpointer.h:116:25:   required from 'QScopedPointer<T, Cleanup>::~QScopedPointer() [with T = QPlatformFontDatabase; Cleanup = QScopedPointerDeleter<QPlatformFontDatabase>]'
G:/qt6-os2/src/plugins/platforms/offscreen/qoffscreenintegration.cpp:96:46:   required from here
G:/qt6-os2/src/corelib/tools/qscopedpointer.h:57:40: error: invalid application of 'sizeof' to incomplete type 'QPlatformFontDatabase'
   57 |         typedef char IsIncompleteType[ sizeof(T) ? 1 : -1 ];
      |                                        ^~~~~~~~~
G:/qt6-os2/src/corelib/tools/qscopedpointer.h:60:9: warning: possible problem detected in invocation of 'operator delete' [-Wdelete-incomplete]
   60 |         delete pointer;
      |         ^~~~~~~~~~~~~~

Not sure if this same as Paul mention before about fontconfig....

85
Programming / Re: Qt6
« on: November 18, 2022, 02:21:15 pm »
Hi Paul & Dave

I now have use make and removed the ninja out of path.

G:\qt6\bin>qmake.exe --version
QMake version 3.1
Using Qt version 6.2.4 in /qt6/lib


But here it stops @ .......


AutoUic subprocess error
------------------------
The uic process failed to compile
  "SRC:/src/widgets/dialogs/qfiledialog.ui"
into
  "BIN:/src/widgets/Widgets_autogen/include/ui_qfiledialog.h"
included by
  "SRC:/src/widgets/dialogs/qfiledialog.cpp"
libuv process spawn failed: no such file or directory

Command
-------
G:/qt6-dev/bin/uic.exe -o G:/qt6-dev/src/widgets/Widgets_autogen/include/ui_qfiledialog.h G:/qt6-os2/src/widgets/dialogs/qfiledialog.ui

Output
------


make.exe[2]: *** [src/widgets/CMakeFiles/Widgets_autogen] Error 1
make.exe[1]: *** [src/widgets/CMakeFiles/Widgets_autogen.dir/all] Error 2
make.exe[1]: *** Waiting for unfinished jobs....
G:/qt6-os2/src/platformsupport/fbconvenience/qfbvthandler.cpp: In constructor 'QFbVtHandler::QFbVtHandler(QObject*)':
G

86
Programming / Re: Qt6
« on: November 17, 2022, 07:11:53 pm »
Hi Paul,

Still struggeling with the dll's
I have now a qmake.exe but it cannot start because it needs lib/qt6core6.dll

So far i have:

androiddeployqt.exe
cmake_automoc_parser.exe
moc.exe
qdbuscpp2xml.exe
qdbusxml2cpp.exe
qlalr.exe
qmake.exe
qtpaths.exe
qvkgen.exe
rcc.exe
tracegen.exe
uic.exe

and
Qt6Conc6.dll
Qt6Core6.dll
Qt6DBus6.dll
Qt6Gui6.dll
Qt6Netw6.dll
Qt6Sql6.dll
Qt6Test6.dll
Qt6Xml6.dll

Could you check if that also the case if that happens for you ??
Otherwise there is something wrong on my side??

87
Programming / Re: Qt6
« on: November 17, 2022, 09:27:53 am »
Hi,
I use cmake --build and then ninja got involved i think it's using the ninja from the qt5 build...

88
Programming / Re: Qt6
« on: November 16, 2022, 06:05:01 pm »
Hi PAul

I did a fresh pull
And now its running ahead again :P

But failed here:

117/368] Automatic MOC and UIC for target Widgets
FAILED: src/widgets/CMakeFiles/Widgets_autogen src/widgets/Widgets_autogen/mocs_compilation.cpp
cd G:/Qt6-dev/src/widgets && H:/usr/local1220/bin/cmake.exe -E cmake_autogen G:/Qt6-dev/src/widgets/CMakeFiles/Widgets_autogen.dir/AutogenInfo.json Release

AutoUic subprocess error
------------------------
The uic process failed to compile
  "SRC:/src/widgets/dialogs/qfiledialog.ui"
into
  "BIN:/src/widgets/Widgets_autogen/include/ui_qfiledialog.h"
included by
  "SRC:/src/widgets/dialogs/qfiledialog.cpp"
libuv process spawn failed: no such file or directory

Command
-------
G:/Qt6-dev/bin/uic.exe -o G:/Qt6-dev/src/widgets/Widgets_autogen/include/ui_qfiledialog.h G:/qt6-os2/src/widgets/dialogs/qfiledialog.ui

Output
------


[118/368] Linking CXX shared module plugins/platforms/qminimal.dll
FAILED: plugins/platforms/qminimal.dll
: && h:/usr/local1220/bin/g++.exe -O2 -g -march=i686 -DNDEBUG -O2   -Zomf -Zdll -Zmap  -Zlinker DISABLE -Zlinker 1121 -lpthread -lcx -Zhigh-mem -Zmap -Zomf -llibstdc++ -Zdll -o plugins/platforms/qminimal.dll  src/plugins/platforms/minimal/CMakeFiles/QMinimalIntegrationPlugin.dir/QMinimalIntegrationPlugin_autogen/mocs_compilation.cpp.o src/plugins/platforms/minimal/CMakeFiles/QMinimalIntegrationPlugin.dir/main.cpp.o src/plugins/platforms/minimal/CMakeFiles/QMinimalIntegrationPlugin.dir/qminimalbackingstore.cpp.o src/plugins/platforms/minimal/CMakeFiles/QMinimalIntegrationPlugin.dir/qminimalintegration.cpp.o  lib/Qt6Gui_dll.a  lib/Qt6Core_dll.a  H:/USR/LOCAL1220/lib/freetype_dll.a && :
weakld: error: Unresolved symbol (UNDEF) '__ZTV19QFontconfigDatabase'.
weakld: info: The symbol is referenced by:
    D:\temp\ldconv_qminimalintegration_cpp_o_1e4663751228165130.obj
weakld: error: Unresolved symbol (UNDEF) '__ZN23QtGenericUnixDispatcher25createUnixEventDispatcherEv'.
weakld: info: The symbol is referenced by:
    D:\temp\ldconv_qminimalintegration_cpp_o_1e4663751228165130.obj



When i run uic i get popup with:
    File not found
     LIB/QT6CORE6
  [ OK ]  [ Cancel ]

Should it not looking for just Qt6Core6.dll and not for lib/Qt6Core6.dll

G:\Qt6-dev\bin>chkdll32 uic.exe
Loading DLL 'libcn0' --> C:\USR\LIB\LIBCN0.DLL.
Loading DLL 'libcx0' --> C:\USR\LIB\LIBCX0.DLL.
Loading DLL 'lib/Qt6Core6' --> NOT loaded!
Unable to load DLL 'lib/Qt6Core6'.  DosLoadModule returned: 3
OS/2 reports 'G:\QT6-DEV\BIN\LIB\QT6CORE6' contributed to the failure.
Loading DLL 'gcc1' --> C:\USR\LIB\GCC1.DLL.

89
Programming / Re: Qt6
« on: November 15, 2022, 11:30:49 pm »
Hi Paul

I notice something weird before when i had theqt6core dll building
So before i build a clean build

it seems that the dll are linking as lib/qt6core6.dll

** EXPERIMENTAL (HLL) ** Open Watcom Linker Version 2.0beta1 Limited Availability
Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved.
Created on:       22/11/15 21:27:50
Executable Image: lib/Qt6Core6.dll
creating an OS/2 EMX dynamic link library

Do you see that to ?
As i try to run uic it says it's looking for the lib/qt6core6.dll


90
Programming / Re: Qt6
« on: November 15, 2022, 11:14:32 pm »
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

Hi Paul,

I did a clean build with the latest changes, but now configure stops....

Pages: 1 ... 4 5 [6] 7 8 ... 16