<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Mon May 20, 2013 3:17 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Mon May 20, 2013 3:17 am</pubDate>
  <lastBuildDate>Mon May 20, 2013 3:17 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>Re: QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=794#794</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Wed Apr 20, 2005 8:17 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Heeeey! we're done.  With a bit more time and a good look at your instructions and the link above, the driver compiled in about 5 seconds and my program connected straight away. I just needed to shift the postgres source up the directory tree one level.&lt;br /&gt;
It doesn't explain why the Suse system wont connect though but i'll leave that for someone else. I'm back with Slack &amp;amp; I'm happy:-)</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=794#794</comments>
                                        <author>wiz</author>
                                        <pubDate>Wed Apr 20, 2005 8:17 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=794#794</guid>
                                      </item>
                                      <item>
                                        <title>Re: QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=684#684</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Sat Apr 16, 2005 3:58 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Thanks for your help. Unfortunately, due to time limits  I resorted to the dark side &amp;amp; did the whole job with C Builder  but I will return to this as soon as I can</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=684#684</comments>
                                        <author>wiz</author>
                                        <pubDate>Sat Apr 16, 2005 3:58 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=684#684</guid>
                                      </item>
                                      <item>
                                        <title>Re: QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=680#680</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=167'&gt;nordle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 15, 2005 10:45 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;wiz wrote:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;quote&quot;&gt;I didn't make myself very clear above. I am trying to do this on a Slack 10.1 system which does not appear to have a ready compiled qt postgres &lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
ahhh, ok, no problem.  Im running Slack 10.1 with the qt postgres driver after compiling it because its not there as standard.&lt;br /&gt;
&lt;br /&gt;
The file it moaned about was probably libpq-fe.h, libpq.h, or postgres.h or similar.&lt;br /&gt;
You DONT have to compile all of qt to get the driver up and running.  I did this a while ago, so am a bit sketchy on the exact details.&lt;br /&gt;
&lt;br /&gt;
1. When installing postgresql try putting the source in /usr/local/pgsql/src, then compiling with a prefix of /usr/local/pgsql&lt;br /&gt;
&lt;br /&gt;
2. Add /usr/local/pgsql/lib to /etc/ld.so.conf and run ldconfig&lt;br /&gt;
&lt;br /&gt;
3. Copy just the qt source directory (src) and everything below it eg  qt-x11-free-3.x.x/src to /usr/lib/qt/src&lt;br /&gt;
&lt;br /&gt;
4. This is the install procedure, takes seconds.&lt;br /&gt;
I've put my example of assuming the pgsql source is in /usr/local/pgsql/src below&lt;br /&gt;
&lt;a href=&quot;http://doc.trolltech.com/3.3/sql-driver.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://doc.trolltech.com/3.3/sql-driver.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
cd $QTDIR/plugins/src/sqldrivers/psql&lt;br /&gt;
qmake -o Makefile &quot;INCLUDEPATH+=/usr/local/pgsql/src/postgresql-8.0.2/src/include /usr/local/pgsql/src/postgresql-8.0.2/src/interfaces/libpq&quot; &quot;LIBS+=-L/usr/lib -lpq&quot; psql.pro&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
Then you could checkinstall make install it to create a package for use later on, qt sql drivers last for ages before needing a recompile, I was still using 7.4.1 compiled from slack 9.1 with 8.0.0&lt;br /&gt;
&lt;br /&gt;
Sorted....hopefully &lt;img src=&quot;images/smiles/icon_smile.gif&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=680#680</comments>
                                        <author>nordle</author>
                                        <pubDate>Fri Apr 15, 2005 10:45 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=680#680</guid>
                                      </item>
                                      <item>
                                        <title>Re: QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=662#662</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 15, 2005 6:09 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      I didn't make myself very clear above. I am trying to do this on a Slack 10.1 system which does not appear to have a ready compiled qt postgres driver hence the recompilation. As a temporary measure I shifted the whole lot to a Suse system which does have the driver and that is the one I could not get to work, so I am going back to the Slack system to try again.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=662#662</comments>
                                        <author>wiz</author>
                                        <pubDate>Fri Apr 15, 2005 6:09 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=662#662</guid>
                                      </item>
                                      <item>
                                        <title>Re: QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=660#660</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Fri Apr 15, 2005 6:01 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Yup, I can connect ok with anything except the qt driver. &lt;br /&gt;
I recompiled qt from source but the postgres driver did not compile because some source header files seemed to be in the wrong location. After trying to fix this my brain is now addled so I have wiped everything and started again.GCC is happily clonking away in the background recompiling qt,    so,  in about 2 hours I will be ready to try again.  I will report any further developments.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=660#660</comments>
                                        <author>wiz</author>
                                        <pubDate>Fri Apr 15, 2005 6:01 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=660#660</guid>
                                      </item>
                                      <item>
                                        <title>Re: QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=625#625</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=167'&gt;nordle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Thu Apr 14, 2005 10:59 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Should work fine, mine was compiled against 8.0.0rc1 and works, I would have thought it would be the same though.&lt;br /&gt;
&lt;br /&gt;
Stupid question, but is 8.0.1 setup correctly, can you use odbc or jdbc to connect to it?</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=625#625</comments>
                                        <author>nordle</author>
                                        <pubDate>Thu Apr 14, 2005 10:59 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=625#625</guid>
                                      </item>
                                      <item>
                                        <title>QT Postgres driver no go</title>
                                        <link>http://linuxformat.com/forums/viewtopic.php?p=459#459</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=53'&gt;wiz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Apr 12, 2005 9:50 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Does anybody know if the   --qt-3.3.3 QSQLPSQL Postgres driver--    works with Postgres 8.0.1?&lt;br /&gt;
&lt;br /&gt;
I am revampimg an old app which used Postgres 7.? and an earlier version of QT but I cannot get the two newer versions to connect.</description>
                                        <comments>http://linuxformat.com/forums/viewtopic.php?p=459#459</comments>
                                        <author>wiz</author>
                                        <pubDate>Tue Apr 12, 2005 9:50 pm</pubDate>
                                        <guid isPermaLink="true">http://linuxformat.com/forums/viewtopic.php?p=459#459</guid>
                                      </item></channel></rss>