<?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>glogg Archive - Tobi&#039;s Tipps</title>
	<atom:link href="https://tobir.org/tag/glogg/feed/" rel="self" type="application/rss+xml" />
	<link>https://tobir.org/tag/glogg/</link>
	<description>Technik &#38; Tools</description>
	<lastBuildDate>Mon, 22 Apr 2019 06:54:02 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Wie man qt4 und glogg unter Mac 10.9 Mavericks zum Laufen bekommt</title>
		<link>https://tobir.org/qt4-und-glogg-unter-mac-10-9-mavericks/</link>
					<comments>https://tobir.org/qt4-und-glogg-unter-mac-10-9-mavericks/#respond</comments>
		
		<dc:creator><![CDATA[tobi]]></dc:creator>
		<pubDate>Mon, 11 Nov 2013 10:22:29 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[glogg]]></category>
		<category><![CDATA[Mavericks]]></category>
		<category><![CDATA[qt4]]></category>
		<guid isPermaLink="false">http://tobir.org/?p=211</guid>

					<description><![CDATA[<p>Um glogg, ein grafisches, auf qt4 basierendes Tool zur Logfile Analyse unter Mac OSX 10.9 zum Laufen zu bekommen sind eine Hürden zu nehmen und Klippen zu umschiffen. Diese Anleitung beschreibt den Weg und teilt sich in zwei Teile: Installation von qt4 unter Mac 10.9 Kompilieren von glogg mittels qt und boost und xcode Außerdem &#8230; <a href="https://tobir.org/qt4-und-glogg-unter-mac-10-9-mavericks/" class="more-link"><span class="screen-reader-text">Wie man qt4 und glogg unter Mac 10.9 Mavericks zum Laufen bekommt</span> weiterlesen</a></p>
<p>Der Beitrag <a href="https://tobir.org/qt4-und-glogg-unter-mac-10-9-mavericks/">Wie man qt4 und glogg unter Mac 10.9 Mavericks zum Laufen bekommt</a> erschien zuerst auf <a href="https://tobir.org">Tobi&#039;s Tipps</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Um <strong>glogg</strong>, ein grafisches, auf qt4 basierendes Tool zur Logfile Analyse unter Mac OSX 10.9 zum Laufen zu bekommen sind eine Hürden zu nehmen und Klippen zu umschiffen. Diese Anleitung beschreibt den Weg und teilt sich in <strong>zwei Teile</strong>:</p>
<ol>
<li>Installation von <strong>qt4</strong> unter <strong>Mac 10.9</strong></li>
<li>Kompilieren von glogg mittels qt und boost und xcode</li>
</ol>
<p>Außerdem sind einige Voraussetzungen zu schaffen, die hier erläutert werden.<br />
Befehle für das Terminal sind <em>kursiv</em> dargestellt, wichtiges <strong>fett</strong>.</p>
<h3><strong>Beginnen wir also mit Teil 1, der Installation von qt4 unter Mac OSX.<br />
</strong></h3>
<ol>
<li>Wir benötigen xcode und homebrew, um die entsprechenden Werkzeuge verwenden zu können. Wenn brew bereits läuft, geht es mit Schritt 2 weiter.<br />
Über Homebrew kan man hier informieren: http://brew.sh<br />
Zur Installation folgendes in ein Terminal-Fenster einfügen und dem Dialog folgen:<br />
<em><code>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"<br />
</code></em>xcode gibt es im AppStore.</li>
<li>Nachdem nun homebrew läuft, geht es an die Installation von qt4. Hier gibt es <strong>unterschiedliche Möglichkeiten</strong>, qt zu installieren:</li>
</ol>
<ul>
<li><em>brew install qt</em></li>
<li><em><strong><code>brew install <a href="https://github.com/cliffrowley/homebrew/blob/master/Library/Formula/qt.rb">https://github.com/cliffrowley/homebrew/blob/master/Library/Formula/qt.rb</a></code></strong></em></li>
</ul>
<p>Bei mir hat  die erste nicht funktioniert, sie meldete:<br />
# clang: error: linker command failed with exit code 1 (use -v to see invocation)<br />
# make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1<br />
# make[2]: *** [release] Error 2<br />
# make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2<br />
# make: *** [sub-webkit-make_default-ordered] Error 2<br />
Daraufhin habe ich den Patch aus Methode 2 verwendet, das klappte. Weitere Informationen zur Methode Nummer zwei:<br />
<a href="https://github.com/mxcl/homebrew/pull/23793">https://github.com/mxcl/homebrew/pull/23793</a><br />
Nach einer guten Stunde ist der Mac fertig, qt (4.8.5) läuft jetzt.</p>
<h3><strong>Nun zu Teil 2, dem Kompilieren von glogg<br />
</strong></h3>
<ol>
<li>Für glogg benötigen wir boost, dieses  installieren wir über homebrew:<br />
<em><code>brew install boost</code></em></li>
<li>Nun laden wir den glogg-Quellcode herunter und entpacken ihn:<br />
<em>wget <a href="https://github.com/nickbnf/glogg/archive/v1.1.4.tar.gz">https://github.com/nickbnf/glogg/archive/v1.1.4.tar.gz</a></em><br />
<em>tar xzf v1.1.4.tar.gz</em><br />
<em>cd glogg-1.1.4</em></li>
<li>Da der Quellcode nicht optimal für Mac 10.9 vorbereitet ist, müssen noch folgende Veränderungen eingefügt werden:<br />
<a href="https://github.com/exiaoy/glogg/commit/15842d4885b3dfdf1c7113c6d142df9cd93b33b6">https://github.com/exiaoy/glogg/commit/15842d4885b3dfdf1c7113c6d142df9cd93b33b6</a><br />
<a href="https://github.com/exiaoy/glogg/commit/6aa70ce486ef2ceb527bf55fe374abb0dc58a682">https://github.com/exiaoy/glogg/commit/6aa70ce486ef2ceb527bf55fe374abb0dc58a682</a><br />
<a href="http://successfulsoftware.net/2013/10/23/fixing-qt-4-for-mac-os-x-10-9-mavericks/">http://successfulsoftware.net/2013/10/23/fixing-qt-4-for-mac-os-x-10-9-mavericks/</a><br />
Diese bewirken das Ersetzen und Anpassen der Schriftart und die Verwendung von boost, welches wir eben installiert haben.<br />
Weitere Infos: <a href="http://graphsignals.blogspot.de/2013/07/build-glogg-from-source-code-for-mac-os.html">http://graphsignals.blogspot.de/2013/07/build-glogg-from-source-code-for-mac-os.html</a></li>
<li>Nun können wir mittels qt ein Makefile erzeugen:<br />
<em>qmake</em></li>
<li>Dieses Makefile muss aber eventuell noch etwas angepasst werden, da sonst das Kompilieren fehlschlägt. In der Zeile <strong>CXXFLAGS</strong> bitte folgendes ergänzen, wenn boost mit -c++11 kompiliert wurde: <strong><code>-stdlib=libc++ -std=c++11</code></strong><br />
Außerdem bei <strong>MACOSX_DEPLOYMENT_TARGET</strong> den Wert auf <strong>10.9</strong> ändern.<br />
Weitere Infos: http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp</li>
<li>Nun endlich können wir kompilieren:<br />
<em>make</em></li>
<li>Die App wurde erstellt, aber das Icon stimmt nicht. Das beheben wir jetzt:
<ul>
<li>wir öffnen glogg48.ico mit Vorschau</li>
<li>drücken Command+a</li>
<li>drücken Command+c</li>
<li>wählen nunn glogg.app aus</li>
<li>drücken Command+i</li>
<li>wählen das Icon oben links aus</li>
<li>drücken Command+</li>
</ul>
<p>Anleitung von http://osxdaily.com/2013/06/04/change-icon-mac/</li>
<li>Nun kopieren wir die App nach Programme:<br />
<em>cp glogg.app /Applications/.</em></li>
</ol>
<p><strong>Fertig</strong></p>
<h3>Nun noch einmal die <strong>Kurzfassung</strong> <strong>auf</strong> <strong>Englisch</strong>:</h3>
<p><strong># 1</strong> install homebrew if not already installed<br />
# documentation is here http://brew.sh/<br />
# paste in terminal and follow the dialog<br />
<code>ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install )"</code></p>
<p><strong># 2</strong> install qt4<br />
# this may take a while</p>
<p><strong> # 2a</strong> install qt via brew<br />
brew install qt</p>
<p><strong># 2b</strong> install patched qt4 via brew if errors like the following occure on step 2a<br />
# clang: error: linker command failed with exit code 1 (use -v to see invocation)<br />
# make[3]: *** [../../../../../../lib/QtWebKit.framework/QtWebKit] Error 1<br />
# make[2]: *** [release] Error 2<br />
# make[1]: *** [sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2<br />
# make: *** [sub-webkit-make_default-ordered] Error 2<br />
# see also <a href="https://github.com/mxcl/homebrew/pull/23793">https://github.com/mxcl/homebrew/pull/23793</a><br />
<code>brew install <a href="https://github.com/cliffrowley/homebrew/blob/master/Library/Formula/qt.rb">https://github.com/cliffrowley/homebrew/blob/master/Library/Formula/qt.rb</a></code></p>
<p><strong># 3</strong> install boost with clang-cpp-option<br />
brew install boost</p>
<p><strong># 4</strong> download glogg<br />
wget <a href="https://github.com/nickbnf/glogg/archive/v1.1.4.tar.gz">https://github.com/nickbnf/glogg/archive/v1.1.4.tar.gz</a><br />
tar xzf v1.1.4.tar.gz<br />
cd glogg-1.1.4</p>
<p><strong># 5</strong> patch glogg to use homebrew boost and fix compile errors<br />
<a href="https://github.com/exiaoy/glogg/commit/15842d4885b3dfdf1c7113c6d142df9cd93b33b6">https://github.com/exiaoy/glogg/commit/15842d4885b3dfdf1c7113c6d142df9cd93b33b6</a><br />
<a href="https://github.com/exiaoy/glogg/commit/6aa70ce486ef2ceb527bf55fe374abb0dc58a682">https://github.com/exiaoy/glogg/commit/6aa70ce486ef2ceb527bf55fe374abb0dc58a682</a><br />
<a href="http://successfulsoftware.net/2013/10/23/fixing-qt-4-for-mac-os-x-10-9-mavericks/">http://successfulsoftware.net/2013/10/23/fixing-qt-4-for-mac-os-x-10-9-mavericks/</a><br />
# see also: <a href="http://graphsignals.blogspot.de/2013/07/build-glogg-from-source-code-for-mac-os.html">http://graphsignals.blogspot.de/2013/07/build-glogg-from-source-code-for-mac-os.html</a></p>
<p><strong># 6</strong> build glogg<br />
qmake</p>
<p><strong># 7</strong> edit Makefile, add when boost has been compiled with -c++11:<br />
CXXFLAGS -stdlib=libc++ -std=c++11<br />
# and change the following to 10.9<br />
MACOSX_DEPLOYMENT_TARGET = 10.9<br />
# because 10.9 clang c++ differs from homebrews qt c++<br />
# see also: <a href="http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp">http://stackoverflow.com/questions/8454329/why-cant-clang-with-libc-in-c0x-mode-link-this-boostprogram-options-examp</a></p>
<p><strong># 8</strong> compile<br />
make</p>
<p><strong># 9</strong> change app icon<br />
# more info <a href="http://osxdaily.com/2013/06/04/change-icon-mac/">http://osxdaily.com/2013/06/04/change-icon-mac/</a><br />
# open glogg48.ico in preview<br />
# press Command+a to select everything<br />
# press Command+c to copy the image<br />
# press Command+i on glogg.app to get info<br />
# select app icon on the top left corner<br />
# press Command+v to insert the image</p>
<p><strong># 10</strong> copy glogg to Applications<br />
cp glogg.app /Applications/.</p>
<p>Der Beitrag <a href="https://tobir.org/qt4-und-glogg-unter-mac-10-9-mavericks/">Wie man qt4 und glogg unter Mac 10.9 Mavericks zum Laufen bekommt</a> erschien zuerst auf <a href="https://tobir.org">Tobi&#039;s Tipps</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tobir.org/qt4-und-glogg-unter-mac-10-9-mavericks/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
