Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2012 07:52:20 -0700 (PDT)
From:      "Waitman Gobble" <uzimac@da3m0n8t3r.com>
To:        "Waitman Gobble" <uzimac@da3m0n8t3r.com>
Cc:        kde@freebsd.org, FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: blank window form with qtcreator package (update: building from ports)
Message-ID:  <1333032740.60573@da3m0n8t3r.com>
In-Reply-To: <1332993238.55656@da3m0n8t3r.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--bound1333032740
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Waitman Gobble <uzimac@da3m0n8t3r.com> wrote ..
> Waitman Gobble <uzimac@da3m0n8t3r.com> wrote ..
> > Waitman Gobble <uzimac@da3m0n8t3r.com> wrote ..
> > > Chris Rees <crees@freebsd.org> wrote ..
> > > > Forwarding to more appropriate list, and CCing kde@
> > > > 
> > > > On 28 March 2012 15:55, Waitman Gobble <uzimac@da3m0n8t3r.com> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I am having an issue with qtcreator (using pkg_add) from http://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages/Latest/
> > > > > running FreeBSD 10.0-CURRENT amd64/SMP
> > > > >
> > > > > When I start qtcreator a grey window form appears which is totally blank.
> > Note
> > > > that the other Qt apps appear to function (ie, qtdesigner).
> > > > >
> > > > > On another machine running FreeBSD 10.0-CURRENT i386 (32bit) with the corresponding
> > > > Qt packages installed, qtcreator runs as expected.
> > > > >
> > > > > Pointers for troubleshooting appreciated!
> > > > >
> > > > > Thanks,
> > > > >
> > > > > --
> > > > > Waitman Gobble
> > > > > San Jose California USA
> > > 
> > > other details: using Xfce4. new system build within past few days so packages/system
> > > should be "close-to" latest. 
> > > 
> > > Thank you,
> > > 
> > > -- 
> > > Waitman Gobble
> > > San Jose California USA
> > 
> > Figured out the problem, I was looking at reinstalling Qt and noticed pkg_updating..
> > mentions issue 2012-03-13 about MIT-SHM. I didn't catch this error before using
> > the launcher icon, but when starting qtcreator from terminal I notice the error
> > about MIT-SHM.. searched a bit and found this page:
> > 
> > http://forums.freebsd.org/archive/index.php/t-29770.html
> > 
> > seems that
> > # sysctl kern.ipc.shm_allow_removed=1
> > 
> > fixes the problem... qtcreator then starts properly with stuff on the form (ie,
> > not blank).
> > 
> > so... I suppose the explanation seems to be that 
> > qt4-gui-4.7.4_1 is not yet available in the /Latest amd64 packages...  (?) checking
> > this out now.
> > 
> > 
> > 
> > Thank you,
> > 
> > -- 
> > Waitman Gobble
> > San Jose California USA
> 
> 
> Looks like i'm missing qt4-gui-4.7.4_1 :-)
> 
> 
> 
> waitman@hunny:/usr/home/waitman# uname -a
> FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #1: Mon Mar 26 19:48:52
> PDT 2012     waitman@hunny.waitman.net:/usr/obj/usr/src/sys/KEYSHIA  amd64
> 
> waitman@hunny:/usr/home/waitman# pkg_info | grep qt4
> qt4-4.7.4           Multiplatform C++ application framework (metaport)
> qt4-accessible-4.7.4 Qt accessibility widgets
> qt4-assistant-4.7.4_1 Qt documentation browser
> qt4-clucene-4.7.4   QtCLucene full text search library wrapper
> qt4-corelib-4.7.4   Qt core library
> qt4-dbus-4.7.4      Qt4 bindings for the D-BUS messaging system
> qt4-declarative-4.7.4 Qt4 framework for building highly dynamic user interfaces
> qt4-designer-4.7.4_1 Qt ui editor
> qt4-doc-4.7.4       Multiplatform C++ application framework
> qt4-graphicssystems-opengl-4.7.4 OpenGL rendering engine (experimental)
> qt4-gui-4.7.4       Qt graphical user interface library
> qt4-help-4.7.4      QtHelp module provides QHelpEngine API and is used by Assis
> qt4-iconengines-4.7.4 Qt SVG icon engine plugin
> qt4-imageformats-4.7.4 Qt imageformat plugins for GIF, JPEG, MNG and SVG
> qt4-inputmethods-4.7.4 Qt input method plugins
> qt4-l10n-4.7.4      Qt translations messages
> qt4-multimedia-4.7.4 Qt4 low-level multimedia API
> qt4-network-4.7.4   Qt network library
> qt4-opengl-4.7.4    Qt OpenGL library
> qt4-qdbusviewer-4.7.4 Qt4 D-BUS viewer
> qt4-qt3support-4.7.4 Qt3 compatibility library
> qt4-qtconfig-4.7.4  Qt graphical configuration utility
> qt4-qtestlib-4.7.4  Qt unit testing library
> qt4-qvfb-4.7.4      Qt virtual framebuffer utility
> qt4-script-4.7.4    Qt script
> qt4-scripttools-4.7.4 Qt script
> qt4-sql-4.7.4       Qt SQL library
> qt4-sqlite-plugin-4.7.4 Qt SQLite 3.x database plugin
> qt4-svg-4.7.4       Qt SVG library
> qt4-webkit-4.7.4    Qt4 WebKit engine
> qt4-xml-4.7.4       Qt XML library
> qt4-xmlpatterns-4.7.4 XQuery 1.0 and XPath 2.0 support for Qt4
> qt4-xmlpatterns-tool-4.7.4 Qt4 command line utility for running XQueries
> 
> waitman@hunny:/usr/home/waitman# pkg_info | grep qtcreator
> qtcreator-2.4.1     Qt Creator IDE and tools
> 
> interestingly I found that on my 386 machine qtcreator version is 2.0.1 but qt4
> version 4.7.4
> Not sure at the moment how I managed to fetch an old version of qtcreator... which
> seems to work without the MIT_SHM problem.
> I checked and 2.4.1 is whats on 368/latest packages.
> 
> 
> -- 
> Waitman Gobble
> San Jose California USA

For some reason qt4 package on amd64 does not install qmake. (I might need a tools package or something, but i don't remember doing that on the 386 machine) anyway, I removed Qt4 packages and built from src / ports tree. 

make in /usr/ports/devel/qt4 fails with 'ld cannot find -lQtDbus' - looks like it's in the webkit build section when it fails. 

to get it going, make install in /usr/ports/devel/dbus-qt4/ (or /usr/ports/devel/qt4-qdbusviewer/) then return to /usr/ports/devel/qt4 and make will continue... 
for some reason it's not catching the dependency... might be an issue to check out (?)

Thanks,

-- 
Waitman Gobble
San Jose California USA


--bound1333032740--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1333032740.60573>