Motif 2.1 migration from Motif 1.2


 
Thread Tools Search this Thread
Operating Systems Solaris Motif 2.1 migration from Motif 1.2
# 1  
Old 05-11-2011
Motif 2.1 migration from Motif 1.2

An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine.

Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application gives segmentation fault, core dump. Even though, there are some apis that are deprecated from Motif 1.2 to Motif 2.1, still the compilation and linking is working fine but runtime.

After analyzing the core dump file, it is found that while loading libXrender.so.1 file, crash occurs.

Please let me know if you have any pointers on the same.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Motif Application will not refresh

I have a Motif Application created with XtVaAppInitialize. I have two field widgets, created with XmCreateTextField. Now when I programmatically change the data in any of the two fields, the widgets don't get refreshed, only after a mouse over. I have tried anything, from including the "xrefresh"... (4 Replies)
Discussion started by: JenniferKuiper
4 Replies

2. Programming

Change font in Motif

Does anyone know how to change the font size into a larger one, in a basic Motif application? (1 Reply)
Discussion started by: JenniferKuiper
1 Replies

3. Solaris

Motif 1.2 support on Solaris 10

Hello, I used to compile and link the code on Solaris 6 using Motif 1.2 (that used to come as part of Operating System) I would like to use the same version of Motif 1.2 for compilation and linking on Solaris 10. But Solaris 10 has Motif 2.1.0 as default. Is Motif 1.2 supported on... (0 Replies)
Discussion started by: shafi2all
0 Replies

4. HP-UX

motif reqired for hp-ux 11.11

hello everyone, where can i download motif compatible with HP-UX 11.11.which motif version i have to use. can i use openmotif 2.3 for HP-UX 11.11. pls somebody suggest a solution .it's very urgent. any help appreciated. with regards, Srini (0 Replies)
Discussion started by: mannam srinivas
0 Replies

5. AIX

Motif on AIX and SWT

hi all, I've written a GUI application in Eclipse using SWT. It's running fine on linux(which uses GTK on x86). But when I ran the same application on AIX(which uses Motif on PPC), the GUI part is suffering. :-( The checkboxes are looking very small(like tiny dots on screen!) , spinners are... (4 Replies)
Discussion started by: v_rathor
4 Replies

6. Shell Programming and Scripting

Dtksh + Motif newb

I have a script that creates a Form and multiple textfield, text, and label widgets in which the user inputs data, and submits it to be organized and formatted accordingly.... Some of the information that the user is manually adding comes from a text area in a separate application. Is it... (0 Replies)
Discussion started by: insamniac
0 Replies

7. Programming

motif help

Hi everyone, I am new in motif programming and I want to learn how to program it. I use Fedora core 3 and every time I compile the program, there are always some errors appear. One of the errors said that I do not have the Xm/xxxx.h However, I do not know precisely how to install header files. I... (0 Replies)
Discussion started by: qqq
0 Replies

8. Programming

Motif - RedHat 7.3

Can somebody help me... I have insalled RedHat 7.3 on my computer and there is motif 2.x and i want to compile a cource code but it doesn't work it says Xm/PushB.h not found..something like that.. I'm trying like this : gcc -o x x.c -lXm -lXt -lX11 pleas help me (3 Replies)
Discussion started by: CreamHarry
3 Replies

9. Programming

Motif

Do you think that Motif programming is old...should I learn it... (3 Replies)
Discussion started by: CreamHarry
3 Replies

10. Programming

Motif resources

I am very glad to be a member of you. where can i look for the resource programe examples about motif? please help me!Thanks a lot. (3 Replies)
Discussion started by: q30
3 Replies
Login or Register to Ask a Question
QXtWidget(3qt)															    QXtWidget(3qt)

NAME
QXtWidget - Allows mixing of Xt/Motif and Qt widgets SYNOPSIS
This class is part of the Qt Motif Extension. #include <qxtwidget.h> Inherits QWidget. Public Members QXtWidget ( const char * name, Widget parent, bool managed = FALSE ) QXtWidget ( const char * name, WidgetClass widget_class, QWidget * parent = 0, ArgList args = 0, Cardinal num_args = 0, bool managed = FALSE ) ~QXtWidget () Widget xtWidget () const bool isActiveWindow () const virtual void setActiveWindow () Protected Members virtual bool x11Event ( XEvent * e ) DESCRIPTION
This class is defined in the Qt Motif Extension, which can be found in the qt/extensions directory. It is not included in the main Qt API. The QXtWidget class allows mixing of Xt/Motif and Qt widgets. NOTE: This widget comes from the previous Xt/Motif extension. This class is unsupported and has many known problems. It is provided only for projects moving to the new Motif extension. Do not use it new code. QXtWidget acts as a bridge between Xt and Qt. For utilizing old Xt widgets, it can be a QWidget based on a Xt widget class. For including Qt widgets in an existing Xt/Motif application, it can be a special Xt widget class that is a QWidget. See the constructors for the different behaviors. MEMBER FUNCTION DOCUMENTATION
QXtWidget::QXtWidget ( const char * name, Widget parent, bool managed = FALSE ) Constructs a QXtWidget of the special Xt widget class known as" QWidget" to the resource manager. Use this constructor to utilize Qt widgets in an Xt/Motif application. The QXtWidget is a QWidget, so you can create subwidgets, layouts, etc. using Qt functionality. The name is the object name passed to the QWidget constructor. The widget's parent is parent. If the managed parameter is TRUE and parent in not null, XtManageChild it used to manage the child. QXtWidget::QXtWidget ( const char * name, WidgetClass widget_class, QWidget * parent = 0, ArgList args = 0, Cardinal num_args = 0, bool managed = FALSE ) Constructs a QXtWidget of the given widget_class called name. Use this constructor to utilize Xt or Motif widgets in a Qt application. The QXtWidget looks and behaves like the Xt class, but can be used like any QWidget. Note that Xt requires that the most top level Xt widget is a shell. This means, if parent is a QXtWidget, the widget_class can be of any kind. If there isn't a parent or the parent is just a normal QWidget, widget_class should be something like topLevelShellWidgetClass. The arguments, args, num_args are passed on to XtCreateWidget. If the managed parameter is TRUE and parent in not null, XtManageChild it used to manage the child. QXtWidget::~QXtWidget () Destructs the QXtWidget. bool QXtWidget::isActiveWindow () const Different from QWidget::isActiveWindow() void QXtWidget::setActiveWindow () [virtual] Implement a degree of focus handling for Xt widgets. Reimplemented from QWidget. bool QXtWidget::x11Event ( XEvent * e ) [virtual protected] Reimplemented to produce the Xt effect of getting focus when the mouse enters the widget. The event is passed in e. This function is under development and is subject to change. Reimplemented from QWidget. Widget QXtWidget::xtWidget () const Returns the Xt widget equivalent for the Qt widget. SEE ALSO
http://doc.trolltech.com/qxtwidget.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qxtwidget.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QXtWidget(3qt)