qtbase successes on Mac

73 views
Skip to first unread message

Michael Lawrence

unread,
Jul 19, 2011, 6:35:39 PM7/19/11
to cra...@googlegroups.com
Hi guys,

Are you guys still able to build the latest qtbase checkout on the Mac? The Bioc guys are having trouble.

Thanks,
Michael

Hadley Wickham

unread,
Jul 19, 2011, 6:50:22 PM7/19/11
to cra...@googlegroups.com
On a clean checkout, I get:

...
-- Build Smoke... yes - Qt
CMake Error: The following variables are used in this project, but
they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
QT_QTUITOOLS_INCLUDE_DIR (ADVANCED)
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/generator
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/generator/parser
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/generator/generators
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/generator/generators/smoke
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/generator/generators/dump
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/smoke
used as include directory in directory
/tmp/RtmpVaJff3/R.INSTALL197dd8ec/qtbase/kdebindings/smoke/qt

-- Configuring incomplete, errors occurred!
make[1]: *** No rule to make target `install'. Stop.
make: *** [all] Error 2
ERROR: compilation failed for package ‘qtbase’
* removing ‘/Users/hadley/R/qtbase’
* restoring previous ‘/Users/hadley/R/qtbase’

--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/

Michael Lawrence

unread,
Jul 19, 2011, 7:05:16 PM7/19/11
to cra...@googlegroups.com
It looks like the Mac builds do not include support for the QtUiTools module. Strange. What's also strange is that on Linux, cmake does not care if you are missing a module. As far as I understand cmake, this means that we cannot support QtUiTools anywhere, which is unfortunate.

Michael

Deborah Swayne

unread,
Jul 20, 2011, 1:47:50 PM7/20/11
to cra...@googlegroups.com
Is this a question of the Qt installation?  Hadley, did you install yours using brew or directly from nokia.com?

I want to be careful not to break anything on my laptop between now and the JSM!

Debby

Deborah Swayne

unread,
Jul 20, 2011, 2:15:55 PM7/20/11
to cra...@googlegroups.com
qtbase builds just fine for me.  I got Qt from qt.nokia.com; I haven't updated it using the June 21st release.

Debby

Hadley Wickham

unread,
Jul 20, 2011, 2:18:51 PM7/20/11
to cra...@googlegroups.com
Have you updated the qtbase source?
Hadley

Deborah Swayne

unread,
Jul 20, 2011, 2:19:38 PM7/20/11
to cra...@googlegroups.com
Yes, just now.

Dianne Cook

unread,
Jul 21, 2011, 7:39:58 AM7/21/11
to cra...@googlegroups.com
Michael,

I just did a fresh install of everything on by backup Mac, and had no problems. Everything works beautifully. 

cheers,
Di
---------------------------
Di Cook




Michael Lawrence

unread,
Jul 21, 2011, 9:05:13 AM7/21/11
to cra...@googlegroups.com
I wonder if Hadley just needs to update then? It seems that at least in the past, the QtUiTools module was missing from Nokia's build. I've managed to make that conditional on a branch I'm pushing to Bioc's svn.

The only remaining problem is that they are building through ssh into the Mac, and Qt is failing to initialize due to not having the rights to the WindowsServer (Mac's rough analog to the X11 server). This causes the vignette build to fail. Unfortunately, their entire build system runs as a background user. For GTK+ stuff they've been able to run an X11 server, but apparently the native WindowsServer is more difficult to access. The only feasible way forward may be to disable the vignette build on the Mac, but this will require a modification to their build system.

Michael
Reply all
Reply to author
Forward
0 new messages