From owner-freebsd-ports@FreeBSD.ORG Sun Aug 10 21:16:28 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5429137B4A4 for ; Sun, 10 Aug 2003 21:15:25 -0700 (PDT) Received: from spam2.snu.ac.kr (spam2.snu.ac.kr [147.46.10.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 52157448C3 for ; Sun, 10 Aug 2003 20:23:02 -0700 (PDT) (envelope-from lahaye@snu.ac.kr) Received: (snipe 17952 invoked by alias); 11 Aug 2003 03:42:14 -0000 Received: from lahaye@snu.ac.kr with Spamsniper2.0 (Processed in 0.017083 secs); Received: from unknown (HELO sis1.snu.ac.kr) (147.46.10.36) by 0 with SMTP; 11 Aug 2003 03:42:14 -0000 X-RCPTTO: ports@FreeBSD.org,kde@FreeBSD.org,qt-bugs@trolltech.com, Received: from snu.ac.kr ([147.46.44.183]) by sis1.snu.ac.kr (8.12.9/8.12.9) with ESMTP id h7B3Mhmx129072; Mon, 11 Aug 2003 12:22:43 +0900 Message-ID: <3F370C25.3000506@snu.ac.kr> Date: Mon, 11 Aug 2003 12:23:17 +0900 From: Rob Lahaye Organization: Seoul National University - South Korea User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030726 X-Accept-Language: en-us, ko-kr MIME-Version: 1.0 To: qt-bugs@trolltech.com, kde@FreeBSD.org References: <3F2B649F.5060300@snu.ac.kr> <20030804160532Z22377-26787+1191@trolltech.com> In-Reply-To: <20030804160532Z22377-26787+1191@trolltech.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org Subject: Re: [Issue N28081] designer nuissances / FreeBSD Port: qt-3.1.2_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 04:16:29 -0000 qt-bugs@trolltech.com (Sigrid) wrote: > > I am not able to reproduce your problem here. I create a form in > Designer, add a QWidgetStack to the form and then add a QPushButton to > the stack by clicking on the QPushButton and then clicking on the form. > Is this the correct way of reproducing the problem? I have traced the problem down a bit further and discovered the following, which is either a problem in the original qt package, or in the FreeBSD port. I have two FreeBSD PC's: One has KDE, Gnome and lots of other desktop stuff installed, together with Qt 3.1.2. The second one has merely the plain OS and system installation (no KDE, nor Gnome), but it has the same version of Qt. The one with KDE, does not have the problems I've described. The problems only appear on the "plain" PC. Comparing 'ldd /usr/X11R6/bin/designer' on both machines, shows that BOTH are linked against libqui.so.1 => /usr/X11R6/lib/libqui.so.1 (0x28284000) libqt-mt.so.3 => /usr/X11R6/lib/libqt-mt.so.3 (0x282b1000) libmng.so.1 => /usr/local/lib/libmng.so.1 (0x28890000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x288e3000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28901000) libz.so.2 => /usr/lib/libz.so.2 (0x28924000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x28a12000) libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x28a1a000) libfreetype.so.9 => /usr/local/lib/libfreetype.so.9 (0x28a2b000) libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x28a7b000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x28aa1000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x28aaf000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x28b6b000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x28b74000) libstdc++.so.3 => /usr/lib/libstdc++.so.3 (0x28b8a000) libm.so.2 => /usr/lib/libm.so.2 (0x28bcf000) libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28bea000) liblcms.so.1 => /usr/local/lib/liblcms.so.1 (0x28c9f000) libXThrStub.so.6 => /usr/X11R6/lib/libXThrStub.so.6 (0x28cb9000) libexpat.so.4 => /usr/local/lib/libexpat.so.4 (0x28bce000) But the PC with KDE has additional links against libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28931000) libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x2899f000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x289fd000) libc.so.4 => /usr/lib/libc.so.4 (0x28cbb000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x28d54000) Does this shine any light on why the designer shows some unusual behaviour when KDE is not there? Crucial question: is the FreeBSD port or the original Qt package broken when KDE is not there? Regards, Rob. > Rob Lahaye wrote: >> The problem arises from following the designer manual html pages. >> It's the section "Creating a Main Window Application". >> >> Short cutting the manual, please do this: >> >> 1) start designer, and open "New/Open...Main window". >> >> 2) the Wizard choices for the menus and toolbar is not relevant. >> so keep clicking in the wizard until finished, to get the form. >> >> 3) Now, according the designer manual one should do following: >> - select WidgetStack from Containers, and drop it on the main form >> - click on main form (to give focus to main form) and do Layout->>Layout Vertically. >> the WidgetStack now fills the entire form. >> - select Table widget from Views and drop it on the WidgetStack. >> ===>> Boom, this causes a dialog to pop up telling me that I cannot insert >> a widget into the layout Container Widget 'central widget'. >> To do this, I must first break the layout. >> >> The dialog gives me a choice out of two: >> 1) [Cancel] do not add widgets to the StackWidget (nonsense option in this case, >> since what else is the purpose of the StackWidget...) >> 2) [break the layout] but this will not add the Table widget to the StackWidget >> page, but instead to the main form (so the new widget is not part of the >> StackWidget). >> >> >> With Vertical Layout for the WidgetStack, only a complex cut and paste manoeuvre in the Objects >> Explorer allows me to add widgets to the pages of a WidgetStack. But then I cannot change the >> Layout of these new widgets on the WidgetStack. >> >> By the way, the TabWidget has exactly the same problems as WidgetStack.