<?xml version='1.0' encoding="utf-8"?>
      <rss version='2.0'>
      <channel>
      <title>Форум на Исходниках.RU</title>
      <link>https://forum.sources.ru</link>
      <description>Форум на Исходниках.RU</description>
      <generator>Форум на Исходниках.RU</generator>
  	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874634</guid>
        <pubDate>Fri, 26 Aug 2022 13:54:17 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874634</link>
        <description><![CDATA[Majestio: На вот, лови, может быть поможет - <a class='tag-url' href='https://forum.sources.ru/index.php?showtopic=429435' target='_blank'>Его величество MSYS2</a>]]></description>
        <author>Majestio</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874584</guid>
        <pubDate>Thu, 25 Aug 2022 17:45:27 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874584</link>
        <description><![CDATA[Majestio: <strong class='tag-b'>rodion</strong>, ты кросава - сподвиг меняна на изыскания&#33; Сення я раскопал давешний прожект MSYS2. Там все просто чудесно (за исключением статических сборок и работы с базами). Как тока админы мне помогут с FAQ - ты получишь зе бестовый инструмент работы С++/Qt5/PostgreSQL/MySQL ... немного подожди. Админы порешают и я выдам &quot;методичку&quot;. :rolleyes:]]></description>
        <author>Majestio</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874582</guid>
        <pubDate>Thu, 25 Aug 2022 17:19:55 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874582</link>
        <description><![CDATA[rodion: протестил]]></description>
        <author>rodion</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874573</guid>
        <pubDate>Thu, 25 Aug 2022 14:03:20 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874573</link>
        <description><![CDATA[rodion: это всё Qt инклуды, до PostgreSQL компилятор не добрался.<br>
это я <div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#QMAKE_USE += psql</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script> <br>
<br>
<span class="tag-color tag-color-named" data-value="mergepost" style="color: mergepost"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2022-08-25T14:31:10+00:00">25.08.22, 14:31</time></span></span><br>
Внимательней надо было читать сообщения и коментировать <br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">include($$shadowed($$PWD)/qtsqldrivers-config.pri)</div></ol></div></div></div></div><br>
а не <br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">include(../qsqldriverbase.pri)</div></ol></div></div></div></div><br>
драйвер собрался осталось протестить]]></description>
        <author>rodion</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874540</guid>
        <pubDate>Thu, 25 Aug 2022 06:20:06 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874540</link>
        <description><![CDATA[Majestio: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=429405&view=findpost&p=3874537'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>rodion &#064; <time class="tag-quote__quoted-time" datetime="2022-08-24T17:39:51+00:00">24.08.22, 17:39</time></span><div class='quote '>Ну я не вручную добавлял... теперь не видит инклуды</div></div><br>
Напиши твои расположения Qt и собранного PostgreSQL - абсолютные пути.]]></description>
        <author>Majestio</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874537</guid>
        <pubDate>Wed, 24 Aug 2022 17:39:51 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874537</link>
        <description><![CDATA[rodion: Ну я не вручную добавлял... теперь не видит инклуды<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#include &#60;qsqlerror.h&#62;</div><div class="code_line">#include &#60;qsqlfield.h&#62;</div><div class="code_line">#include &#60;qsqlindex.h&#62;</div><div class="code_line">#include &#60;qsqlrecord.h&#62;</div></ol></div></div></div></div><br>
чё то не то]]></description>
        <author>rodion</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874536</guid>
        <pubDate>Wed, 24 Aug 2022 17:21:59 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874536</link>
        <description><![CDATA[Majestio: <strong class='tag-b'>rodion</strong>, глянь <a class='tag-url' href='https://forum.qt.io/topic/109249/library-mysql-is-not-defined' target='_blank'>эту переписку</a>. Там правда про MySQL, но интересные моменты есть, типа:<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">#QMAKE_USE += mysql</div><div class="code_line">LIBS += -L&#39;C:/MySQL/lib/&#39; -llibmysql</div></ol></div></div></div></div><br>
Попробуй сделать по образу и подобию.<br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=429405&view=findpost&p=3874534'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>macomics &#064; <time class="tag-quote__quoted-time" datetime="2022-08-24T17:07:07+00:00">24.08.22, 17:07</time></span><div class='quote '>А вы не ошиблись в количестве /../ - не проще уже задавать абсолютный путь, а не относительный.</div></div><br>
Все верно, поддерживаю&#33;]]></description>
        <author>Majestio</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874534</guid>
        <pubDate>Wed, 24 Aug 2022 17:07:07 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874534</link>
        <description><![CDATA[macomics: А вы не ошиблись в количестве /../ - не проще уже задавать абсолютный путь, а не относительный. Все равно же он получится абсолютным при добавлении значения &#036;&#036;PWD<br><br>Если уж хочется сохранить переносимость, тогда лучше просто вынести путь до ./pgsql/ в отдельную переменную.]]></description>
        <author>macomics</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874532</guid>
        <pubDate>Wed, 24 Aug 2022 16:54:07 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874532</link>
        <description><![CDATA[rodion: У меня есть собранная 11 версия скачанная примерно от туда же инлуды и либы цепляю<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">win32: LIBS += -L$$PWD/../../../../../../../../../pgsql/lib/ -llibpq</div><div class="code_line">&nbsp;</div><div class="code_line">INCLUDEPATH += $$PWD/../../../../../../../../../pgsql/include</div><div class="code_line">DEPENDPATH += $$PWD/../../../../../../../../../pgsql/lib</div></ol></div></div></div></div>]]></description>
        <author>rodion</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874530</guid>
        <pubDate>Wed, 24 Aug 2022 16:30:22 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874530</link>
        <description><![CDATA[Majestio: Для сборки драйверов БД нужно выкачать и собрать PostrgeSQL. Под Линухи обычно хватает клиентской части. Для винды качай полный вариант отсюда <a class='tag-url' href='https://ftp.postgresql.org/pub/source/v11.17/postgresql-11.17.tar.bz2' target='_blank'>https://ftp.postgresql.org/pub/source/v11.1...l-11.17.tar.bz2</a>, и собирай. Как собирать - внутри есть файл INSTALL, там ищи раздел &quot;MinGW/Native Windows&quot;.<br>
<br>
В результате сборки появятся заголовочные файлы и файлы библиотеки PostgreSQL. Их потом нужно сделать видимыми при компиляции драйвера. Лично я после сборки руками копировал прямо в include и lib от MinGW.<br>
<br>
Ну а вот уже потом собирается сам драйвер от Qt.]]></description>
        <author>Majestio</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874528</guid>
        <pubDate>Wed, 24 Aug 2022 16:11:29 +0000</pubDate>
        <title>postgresql 11 драйвер windows7x64</title>
        <link>https://forum.sources.ru/index.php?showtopic=429405&amp;view=findpost&amp;p=3874528</link>
        <description><![CDATA[rodion: Пытаюсь собрать драйвер для postgresql 11 для  qt 5.14.2 под windows7x64 компилятор mingw 7.3.0.<br>
Получаю ошибку :-1: ошибка: Library &#39;psql&#39; is not defined. это на строку проекта. Не подскажите в чём дело?<br>
<div class='tag-code'><span class='pre_code'></span><div class='code  code_collapsed ' title='Подсветка синтаксиса доступна зарегистрированным участникам Форума.' style=''><div><div><ol type="1"><div class="code_line">QMAKE_USE += psql</div></ol></div></div></div></div>]]></description>
        <author>rodion</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      </channel>
      </rss>
	