Opened 17 years ago
Last modified 13 years ago
#48 new task
Include Qt - Designer into the build process
Reported by: | rudi | Owned by: | dmik |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | designer | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
It looks like Designer is pretty much usable under OS/2. Have still not tested it extensively, but with the patch proposed in ticket #47 it's quite O.K.
Attachments (1)
Change History (5)
by , 17 years ago
Attachment: | designer.gif added |
---|
comment:1 by , 17 years ago
From froloff
I can confirm that Designer works fine now. Dmitry, you made an excellent job, thank you.
Patch, proposed by Rudiger in http://svn.netlabs.org/qt3/ticket/47 is useful as well.
A little remark, which Rudiger didn't mentioned.
Due to OS/2 limitation (if you don't have win32k.sys driver installed) DLL base name max length is 8 chars, while QT want to build some plugins (cppeditor.dll dlgplugin.dll ) with longer names. To overcome this I manually edit def file to short the module name in LIBRARY statement and rename the result dll to truncated name.
Also, it seems that the only names which must be exported from QT plugin are
"qt_ucm_query_verification_data" "ucm_instantiate"
the rest QT will access via COM interface. So .def file can looks like
LIBRARY <8 chars module name> INITINSTANCE TERMINSTANCE DATA MULTIPLE NONSHARED EXPORTS "qt_ucm_query_verification_data" "ucm_instantiate"
Best regards Dmitry
comment:2 by , 17 years ago
Yes, I ran into DLL naming problem as well. My fix was to add the following to the *.pro file (CPPEDITOR.PRO in this case):
# Rudi: added for 8.3 DLL names os2:TARGET = cppedit
comment:4 by , 13 years ago
When building designer, we hit some limits in IBMs linker. The may result in a broken executable. It is suggested to switch to GCC3.3.5 + OpenWatcom linker (as used in Qt 4.5.2).
Qt-Designer in action