<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ClearChain &#187; qmake</title>
	<atom:link href="http://www.clearchain.com/blog/tags/qmake/feed" rel="self" type="application/rss+xml" />
	<link>http://www.clearchain.com/blog</link>
	<description>-= Daily Happenings =-</description>
	<lastBuildDate>Wed, 05 Oct 2011 23:02:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Solving the qt4 FreeBSD install problem</title>
		<link>http://www.clearchain.com/blog/posts/solving-the-qt4-freebsd-install-problem</link>
		<comments>http://www.clearchain.com/blog/posts/solving-the-qt4-freebsd-install-problem#comments</comments>
		<pubDate>Wed, 04 Mar 2009 03:00:14 +0000</pubDate>
		<dc:creator>Benjamin Close</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[freebsd-g++]]></category>
		<category><![CDATA[moc]]></category>
		<category><![CDATA[qmake]]></category>
		<category><![CDATA[qt4]]></category>
		<category><![CDATA[qt4-gui]]></category>
		<category><![CDATA[qt4-moc]]></category>
		<category><![CDATA[qt4-rcc]]></category>

		<guid isPermaLink="false">http://www.clearchain.com/blog/?p=291</guid>
		<description><![CDATA[<a href="http://www.clearchain.com/blog/posts/solving-the-qt4-freebsd-install-problem"><img align="left" hspace="5" width="150" height="150" src="http://www.clearchain.com/blog/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Recently I&#8217;ve been trying to instal Trolltech&#8217;s Qt 4 toolkit on my FreeBSD 7.0 server.  FreeBSD supports qt4 via ports (qt4-gui, qt4-moc, qmake4, etc), hence I&#8217;ve been using the ports system to try and install it. However it kept failing with the error: ===&#62; Configuring for qt4-rcc-4.4.3 /bin/cp /data/usr/ports/devel/qt4-rcc/../../devel/qt4/files/configure /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/../../../ /usr/bin/sed -i.bak -e 's&#124;target.path.*&#124;target.path=/usr/local/bin&#124;g' /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/rcc.pro<a href="http://www.clearchain.com/blog/posts/solving-the-qt4-freebsd-install-problem"> <font size=-2>[..more..]</font></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been trying to instal Trolltech&#8217;s Qt 4 toolkit on my FreeBSD 7.0 server.  FreeBSD supports qt4 via ports (qt4-gui, qt4-moc, qmake4, etc), hence I&#8217;ve been using the ports system to try and install it. However it kept failing with the error:</p>
<pre>===&gt;  Configuring for qt4-rcc-4.4.3
/bin/cp /data/usr/ports/devel/qt4-rcc/../../devel/qt4/files/configure /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/../../../
/usr/bin/sed -i.bak -e 's|target.path.*|target.path=/usr/local/bin|g'  /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/rcc.pro
/bin/mkdir -p /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/../../../mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/../../../bin/qmake

This is the Qt/X11 Open Source Edition.

   The specified system/compiler is not supported:

      /data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/mkspecs/freebsd-g++

   Please see the README file for a complete list.

===&gt;  Script "configure" failed unexpectedly.
Please report the problem to kde@FreeBSD.org [maintainer] and attach the
"/data/usr/ports/devel/qt4-rcc/work/qt-x11-opensource-src-4.4.3/src/tools/rcc/../../..//config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. an `ls /var/db/pkg`).
*** Error code 1</pre>
<p>After some brief Google searching, I found the issue. It turns out that a long time ago I had been using qt4 with another project I had been working on. With this project I&#8217;d defined:</p>
<pre>setenv QMAKESPEC freebsd-g++
setenv QTDIR /usr/X11R6/</pre>
<p>This was causing the build system to break. The post at:  <a href="http://mail.kde.org/pipermail/kde-freebsd/2008-August/003360.html">http://mail.kde.org/pipermail/kde-freebsd/2008-August/003360.html</a> gave the hint about this.</p>
<p>Once I undefined QMAKESPEC everything worked as expected!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.clearchain.com/blog/posts/solving-the-qt4-freebsd-install-problem/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

