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)

designer.gif (150.4 KB ) - added by rudi 17 years ago.
Qt-Designer in action

Download all attachments as: .zip

Change History (5)

by rudi, 17 years ago

Attachment: designer.gif added

Qt-Designer in action

comment:1 by komh, 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 rudi, 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:3 by rudi, 13 years ago

Done in r197 and r196.

comment:4 by rudi, 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).

Version 0, edited 13 years ago by rudi (next)
Note: See TracTickets for help on using tickets.