<?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=201768&amp;view=findpost&amp;p=1687940</guid>
        <pubDate>Thu, 06 Sep 2007 13:16:03 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1687940</link>
        <description><![CDATA[JavaStudent: Получилось...<br>
<br>
Судя по всему, теперь самый новый mingw32 (5.1.3) совместим c lib и dll библиотеками MySQL(которые раньше были несовместимы), не требует преобразования при помощи reimp и dlltool, и работает не по шаблону lib*.a<br>
<br>
Вместо, как бы правильной, но не работающей версии<br>
 qmake -o Makefile &quot;INCLUDEPATH+=C:/webserver/mysql60/include&quot; &quot;LIBS+=-LC:/webserver/mysql60/lib/opt -lmysql&quot; mysql.pro <br>
<br>
Я использовал такую команду<br>
 qmake -o Makefile &quot;INCLUDEPATH+=C:/webserver/mysql60/include&quot; &quot;LIBS+=C:/webserver/mysql60/lib/opt/libmysql.lib&quot; mysql.pro<br>
 mingw32-make       <br>
<br>
листинг<br>
c:/dev/util/MinGW/bin/mingw32-make -f Makefile.Release<br>
mingw32-make[1]: Entering directory `c:/dev/lib/qt/4.3.1/src/plugins/sqldrivers/mysql&#39;<br>
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -mthreads -Wl -shared -Wl,--out-implib,c:/dev/lib/qt/4.3.1/plugins/sqldrivers/libqsqlmysql4.a -o &quot;../../../../plugins/sqldrivers/qsqlmysql4.dll&quot; tmp/obj/release_shared/main.o tmp/obj/release_shared/qsql_mysql.o tmp/obj/release_shared/moc_qsql_mysql.o  -L&#39;c:/dev/lib/qt/4.3.1/lib&#39; -L&#39;c:/dev/lib/qt/4.3.1/lib&#39; tmp/obj/release_shared/qsqlmysql_resource_res.o -LC:/webserver/pgsql/lib -lpq -LC:/webserver/mysql60/lib/opt -lmysql C:/webserver/mysql60/lib/opt/libmysql.lib -lQtSql4 -lQtCore4<br>
Creating library file: c:/dev/lib/qt/4.3.1/plugins/sqldrivers/libqsqlmysql4.a<br>
mingw32-make[1]: Leaving directory `c:/dev/lib/qt/4.3.1/src/plugins/sqldrivers/mysql&#39;<br>
<br>
сгенерировались <br>
libqsqlmysql4.a (2182)<br>
qsqlmysql4.dll (76800)<br>
<br>
для MySQL 6.0]]></description>
        <author>JavaStudent</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1687632</guid>
        <pubDate>Thu, 06 Sep 2007 10:54:07 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1687632</link>
        <description><![CDATA[JavaStudent: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1687225'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>gruy &#064; <time class="tag-quote__quoted-time" datetime="2007-09-06T07:14:58+00:00">06.09.07, 07:14</time></span><div class='quote '><br>
А она вообще поддерживается в Qt? Это ведь сырая альфа версия. Лучше ставь 5.0.</div></div><br>
По всей доступной инфе, она и 5.0 не поддерживает...<br>
<br>
Где сказано, что QT4.3.1 поддерживает MySQL 5.* ?<br>
Если бы дело было в версии, которая, кстати, явно прописана в def, то наверное конфигуратор прямо так и сказал, что версия не поддерживается.<br>
<br>
Ошибки какие то странные лезут, как будто ей def до лампочки.<br>
Я уже ему и нормальный def подсунул и новый libmysql.a(112790 байт) собрал (первый килобайтный был неправильный).<br>
<br>
Сначала я не обнаружил reimp ни в MinGW ни в MSYS, хотя везде пишут, что эта утилита идет в их составе. Дистрибутивы самые новые и это меня озадачивает.<br>
Взял reimp из комплекта Code::Block, хотя версия может отличаться и наверное будут проблемы...<br>
<br>
reimp -d libmysql.lib - никак не удалось заставить создать def, поэтому я скопировал тот def который идет в поставке mysql, затем выполнил<br>
dlltool -k --input-def libmysql.def --dllname libmysql.dll --output-lib libmysql.a<br>
получил сообщение о версии 6.0 создаваемой библиотеки и библиотека libmysql.a(112790 байт) создалась.<br>
<br>
Затем выполнил сборку драйвера по отдельности (при сборке вместе с библиотекой QT ошибка таже самая)<br>
cd c:/dev/lib/qt/4.3.1/src/plugins/sqldrivers/mysql<br>
qmake -o Makefile -win32 &quot;INCLUDEPATH+=C:/webserver/mysql60/include&quot; &quot;LIBS+=-LC:/webserver/mysql60/lib/opt -lmysql&quot; mysql.pro<br>
mingw32-make<br>
<br>
и получил опять туже ошибку<br>
<br>
tmp/obj/release_shared/qsql_mysql.o:qsql_mysql.cpp:(.text+0x6e92): undefined reference to `mysql_stmt_store_result@4&#39;<br>
tmp/obj/release_shared/qsql_mysql.o:qsql_mysql.cpp:(.text+0x6edd): undefined reference to `mysql_stmt_bind_result@8&#39;<br>
tmp/obj/release_shared/qsql_mysql.o:qsql_mysql.cpp:(.text+0x738a): undefined reference to `mysql_stmt_bind_param@8&#39;<br>
collect2: ld returned 1 exit status<br>
mingw32-make[1]: *** [../../../../plugins/sqldrivers/qsqlmysql4.dll] Error 1<br>
mingw32-make[1]: Leaving directory `c:/dev/lib/qt/4.3.1/src/plugins/sqldrivers/mysql&#39;<br>
mingw32-make: *** [release] Error 2<br>
<br>
Тоесть, попытаюсь предположить<br>
Эти ссылки/вызовы есть в qsql_mysql.cpp, но mingw32-make не может найти соотвествующие функции в libmysql.a ???<br>
<br>
При чем тут тогда версия, ведь в новой версии MySQL должны уже быть эти функции. Насколько я помню как раз *stmt* функции появились еще в 4.* и существуют во всех более новых версиях.<br>
<br>
Мне кажется, проблема в dlltool, который генерит библитеку с несовместимым кодом, например что такое -k?]]></description>
        <author>JavaStudent</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1687225</guid>
        <pubDate>Thu, 06 Sep 2007 07:14:58 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1687225</link>
        <description><![CDATA[gruy: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686673'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>JavaStudent &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T15:10:50+00:00">05.09.07, 15:10</time></span><div class='quote '>Забыл сообщить, что версия MySQL 6.0</div></div><br>
А она вообще поддерживается в Qt? Это ведь сырая альфа версия. Лучше ставь 5.0.]]></description>
        <author>gruy</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686916</guid>
        <pubDate>Wed, 05 Sep 2007 19:53:18 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686916</link>
        <description><![CDATA[JavaStudent: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686718'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>archimed7592 &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T15:53:34+00:00">05.09.07, 15:53</time></span><div class='quote '>По идее должно быть второе.</div></div><br>
так и было...<br>
<br>
сначала так, вроде всё было гут, но выдал ошибку см.выше<br>
configure.exe ... -shared ... -I &quot;C:/pgsql/include&quot; -L &quot;C:/pgsql/lib&quot; -l &quot;pq&quot; -plugin-sql-psql<br>
-I &quot;C:/mysql/include&quot; -L &quot;C:/mysql/lib/opt&quot; -l &quot;mysql&quot; -plugin-sql-mysql<br>
<br>
потом так, надеялся ему определения подсунуть, вообще на этапе moc свалился<br>
configure.exe ... -shared ... -I &quot;C:/pgsql/include&quot; -L &quot;C:/pgsql/lib&quot; -l &quot;pq&quot; -plugin-sql-psql<br>
-D &quot;C:/mysql/include/libmysql.def&quot; -I &quot;C:/mysql/include&quot; -L &quot;C:/mysql/lib/opt&quot; -l &quot;mysql&quot; -plugin-sql-mysql<br>
<br>
это знак&#33; <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2007-09-05T19:54:41+00:00">05.09.07, 19:54</time></span></span><br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686718'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>archimed7592 &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T15:53:34+00:00">05.09.07, 15:53</time></span><div class='quote '>Размеры нормальные. Сверься с установочной версией.</div></div><br>
<br>
Значительно больше чем в 4.2.3. Тенденция однако&#33;]]></description>
        <author>JavaStudent</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686718</guid>
        <pubDate>Wed, 05 Sep 2007 15:53:34 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686718</link>
        <description><![CDATA[archimed7592: <strong class='tag-b'>JavaStudent</strong>, configure делал с -l mysql.dll или -l mysql? По идее должно быть второе. Тогда по идее будет всё гут. <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2007-09-05T15:55:13+00:00">05.09.07, 15:55</time></span></span><br>
3) Размеры нормальные. Сверься с установочной версией.]]></description>
        <author>archimed7592</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686673</guid>
        <pubDate>Wed, 05 Sep 2007 15:10:50 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686673</link>
        <description><![CDATA[JavaStudent: Спасибо, а то бы долго еще ковырялся&#33; Место первой ошибки проскочил.<br>
Возникли три вопроса...<br>
<br>
1) Плагины собрались: libqsqlmysql4.a, libqsqlpsql4.a, qsqlpsql4.dll<br>
QT DLL для MySQL отсутствует<br>
Забыл сообщить, что версия MySQL 6.0, PostgreSQL 8.0<br>
Компиляция завершилась с ошибкой <br>
...<br>
erence to `mysql_close@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5170): undefined ref<br>
erence to `mysql_list_tables@8&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x51a3): undefined ref<br>
erence to `mysql_data_seek@12&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x51b1): undefined ref<br>
erence to `mysql_fetch_row@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5235): undefined ref<br>
erence to `mysql_free_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x539f): undefined ref<br>
erence to `mysql_stmt_result_metadata@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x53ba): undefined ref<br>
erence to `mysql_num_fields@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x54a4): undefined ref<br>
erence to `mysql_fetch_field@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x56a3): undefined ref<br>
erence to `mysql_next_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x56c1): undefined ref<br>
erence to `mysql_store_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x56d0): undefined ref<br>
erence to `mysql_free_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x56ea): undefined ref<br>
erence to `mysql_next_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x58c2): undefined ref<br>
erence to `mysql_free_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x58e6): undefined ref<br>
erence to `mysql_stmt_close@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5bc0): undefined ref<br>
erence to `mysql_stmt_prepare@12&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5ccd): undefined ref<br>
erence to `mysql_stmt_init@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5d87): undefined ref<br>
erence to `mysql_stmt_param_count@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5da8): undefined ref<br>
erence to `mysql_stmt_param_count@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x5fde): undefined ref<br>
erence to `mysql_real_query@12&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6164): undefined ref<br>
erence to `mysql_store_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x618a): undefined ref<br>
erence to `mysql_field_count@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x61af): undefined ref<br>
erence to `mysql_field_count@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x620d): undefined ref<br>
erence to `mysql_affected_rows@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6277): undefined ref<br>
erence to `mysql_fetch_field_direct@8&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6894): undefined ref<br>
erence to `mysql_stmt_reset@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6c85): undefined ref<br>
erence to `mysql_stmt_param_count@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6ca0): undefined ref<br>
erence to `mysql_stmt_param_count@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6cd0): undefined ref<br>
erence to `mysql_stmt_execute@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6de5): undefined ref<br>
erence to `mysql_stmt_affected_rows@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6e2d): undefined ref<br>
erence to `mysql_stmt_bind_result@8&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6e70): undefined ref<br>
erence to `mysql_stmt_attr_set@12&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6e92): undefined ref<br>
erence to `mysql_stmt_store_result@4&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x6edd): undefined ref<br>
erence to `mysql_stmt_bind_result@8&#39;<br>
tmp&#092;obj&#092;release_shared&#092;qsql_mysql.o:qsql_mysql.cpp:(.text+0x738a): undefined ref<br>
erence to `mysql_stmt_bind_param@8&#39;<br>
collect2: ld returned 1 exit status<br>
mingw32-make[4]: *** [..&#092;..&#092;..&#092;..&#092;plugins&#092;sqldrivers&#092;qsqlmysql4.dll] Error 1<br>
mingw32-make[4]: Leaving directory `C:/dev/lib/Qt/4.3.1/src/plugins/sqldrivers/m<br>
ysql&#39;<br>
mingw32-make[3]: *** [release] Error 2<br>
mingw32-make[3]: Leaving directory `C:/dev/lib/Qt/4.3.1/src/plugins/sqldrivers/m<br>
ysql&#39;<br>
mingw32-make[2]: *** [sub-mysql-make_default] Error 2<br>
mingw32-make[2]: Leaving directory `C:/dev/lib/Qt/4.3.1/src/plugins/sqldrivers&#39;<br>
mingw32-make[1]: *** [sub-sqldrivers-make_default] Error 2<br>
mingw32-make[1]: Leaving directory `C:/dev/lib/Qt/4.3.1/src/plugins&#39;<br>
mingw32-make: *** [sub-plugins-make_default-ordered] Error 2<br>
<br>
<br>
2)После добавления опции -D &quot;C:/mysql/include/libmysql.def&quot;<br>
компиляция завершилась с другой ошибкой, но намного быстрее...<br>
<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:499: error: non-member<br>
 function `QString toString(const QDate&amp;, FormatType)&#39; cannot have `const&#39; metho<br>
d qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:500: error: non-member<br>
 function `QString toString(const QTime&amp;, const QString&amp;)&#39; cannot have `const&#39; m<br>
ethod qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:501: error: non-member<br>
 function `QString toString(const QTime&amp;, FormatType)&#39; cannot have `const&#39; metho<br>
d qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:503: error: non-member<br>
 function `QString dateFormat(FormatType)&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:504: error: non-member<br>
 function `QString timeFormat(FormatType)&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:506: error: non-member<br>
 function `QChar decimalPoint()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:507: error: non-member<br>
 function `QChar groupSeparator()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:508: error: non-member<br>
 function `QChar percent()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:509: error: non-member<br>
 function `QChar zeroDigit()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:510: error: non-member<br>
 function `QChar negativeSign()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:511: error: non-member<br>
 function `QChar exponential()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:513: error: non-member<br>
 function `QString monthName(int, FormatType)&#39; cannot have `const&#39; method qualif<br>
ier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:514: error: non-member<br>
 function `QString dayName(int, FormatType)&#39; cannot have `const&#39; method qualifie<br>
r<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:516: error: non-member<br>
 function `bool operator==(const QLocale&amp;)&#39; cannot have `const&#39; method qualifier<br>
<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:516: error: `bool oper<br>
ator==(const QLocale&amp;)&#39; must take exactly two arguments<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:517: error: non-member<br>
 function `bool operator&#33;=(const QLocale&amp;)&#39; cannot have `const&#39; method qualifier<br>
<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:517: error: `bool oper<br>
ator&#33;=(const QLocale&amp;)&#39; must take exactly two arguments<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:519: error: `Language&#39;<br>
 was not declared in this scope<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h: In function `QLocale<br>
c()&#39;:<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:523: error: expected p<br>
rimary-expression before &#39;(&#39; token<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:523: error: expected p<br>
rimary-expression before &#39;:&#39; token<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h: At global scope:<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:526: error: `Language&#39;<br>
 was not declared in this scope<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:529: error: non-member<br>
 function `NumberOptions numberOptions()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:531: error: expected u<br>
nqualified-id before &quot;private&quot;<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:531: error: expected `<br>
,&#39; or `;&#39; before &quot;private&quot;<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:536: error: non-member<br>
 function `const QLocalePrivate* d()&#39; cannot have `const&#39; method qualifier<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:537: error: expected d<br>
eclaration before &#39;}&#39; token<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:520: warning: &#39;QString<br>
 countryToString(Country)&#39; declared `static&#39; but never defined<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:521: warning: &#39;void se<br>
tDefault(const QLocale&amp;)&#39; declared `static&#39; but never defined<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:523: warning: &#39;QLocale<br>
 c()&#39; defined but not used<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:524: warning: &#39;QLocale<br>
 system()&#39; declared `static&#39; but never defined<br>
In file included from ../../../include/QtCore/qlocale.h:1,<br>
                 from ..&#092;..&#092;corelib&#092;kernel&#092;qmetatype.cpp:30:<br>
../../../include/QtCore/../../src/corelib/tools/qlocale.h:22:1: unterminated #if<br>
ndef<br>
mingw32-make[2]: *** [release&#092;qmetatype.o] Error 1<br>
mingw32-make[2]: Leaving directory `C:/dev/lib/Qt/4.3.1/src/tools/moc&#39;<br>
mingw32-make[1]: *** [release] Error 2<br>
mingw32-make[1]: Leaving directory `C:/dev/lib/Qt/4.3.1/src/tools/moc&#39;<br>
mingw32-make: *** [sub-moc-make_default-ordered] Error 2<br>
<br>
3)Со вчерашней сборки меня смущает размер библиотек QT4.3.1. Собирал c -release -shared.<br>
Может быть специальными опциями можно их как-то уменьшить?<br>
<br>
05.09.2007  18:50           671 486 libQAxContainer.a<br>
05.09.2007  18:50           535 964 libQAxServer.a<br>
05.09.2007  18:47         3 894 818 libQt3Support4.a<br>
04.09.2007  19:19            18 700 libQtAssistantClient4.a<br>
05.09.2007  18:28         1 854 778 libQtCore4.a<br>
04.09.2007  19:26         2 402 866 libQtDesigner4.a<br>
04.09.2007  19:29            12 636 libQtDesignerComponents4.a<br>
05.09.2007  18:39         7 181 060 libQtGui4.a<br>
05.09.2007  18:20             4 654 libqtmain.a<br>
05.09.2007  18:41           326 048 libQtNetwork4.a<br>
05.09.2007  18:44           162 232 libQtOpenGL4.a<br>
05.09.2007  18:43           129 452 libQtScript4.a<br>
05.09.2007  18:40           299 306 libQtSql4.a<br>
05.09.2007  18:41            88 590 libQtSvg4.a<br>
04.09.2007  19:22            40 782 libQtTest4.a<br>
04.09.2007  19:23         1 114 276 libQtUiTools.a<br>
04.09.2007  19:23         9 909 670 libQtUiToolsd.a<br>
05.09.2007  18:28           446 590 libQtXml4.a<br>
05.09.2007  18:48         3 392 000 Qt3Support4.dll<br>
04.09.2007  19:19            42 496 QtAssistantClient4.dll<br>
05.09.2007  18:28         2 074 112 QtCore4.dll<br>
04.09.2007  19:26         2 257 920 QtDesigner4.dll<br>
04.09.2007  19:29         1 845 760 QtDesignerComponents4.dll<br>
05.09.2007  18:40         9 094 144 QtGui4.dll<br>
05.09.2007  18:41           558 592 QtNetwork4.dll<br>
05.09.2007  18:44           499 712 QtOpenGL4.dll<br>
05.09.2007  18:43         1 253 888 QtScript4.dll<br>
05.09.2007  18:40           291 328 QtSql4.dll<br>
05.09.2007  18:41           417 792 QtSvg4.dll<br>
04.09.2007  19:22            74 752 QtTest4.dll<br>
05.09.2007  18:28           499 200 QtXml4.dll]]></description>
        <author>JavaStudent</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686585</guid>
        <pubDate>Wed, 05 Sep 2007 14:10:25 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686585</link>
        <description><![CDATA[archimed7592: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686561'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>JavaStudent &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T13:56:39+00:00">05.09.07, 13:56</time></span><div class='quote '>Но объясни мне пожалуйста, какой в этом скрытый смысл?</div></div><br>
Объяснения в документации g++. Конфигуратор просто подставляет эти параметры в параметры вызова g++. &quot;-l&lt;name&gt;&quot; подключает библиотеку &quot;lib&lt;name&gt;.a&quot;. Виндовая версия также пробует вариант с расширением dll. Кстати, не &quot;pq.a&quot;, а просто &quot;pq&quot;. Если в указанной тобой папке лежит файл libmysql.dll.a, то mysql.dll, иначе, просто mysql. <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2007-09-05T14:12:28+00:00">05.09.07, 14:12</time></span></span><br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686561'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>JavaStudent &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T13:56:39+00:00">05.09.07, 13:56</time></span><div class='quote '>Сейчас не могу, очередной вариант работает.</div></div><br>
Можешь не пробовать свой очередной вариант. Я собирал qt с stlport. Знаю что говорю.]]></description>
        <author>archimed7592</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686561</guid>
        <pubDate>Wed, 05 Sep 2007 13:56:39 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686561</link>
        <description><![CDATA[JavaStudent: <div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686545'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>archimed7592 &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T13:50:38+00:00">05.09.07, 13:50</time></span><div class='quote '>Убери префиксы lib.</div></div><br>
Попробую конечно. Сейчас не могу, очередной вариант работает.<br>
Но объясни мне пожалуйста, какой в этом скрытый смысл? В документации написано - <br>
<br>
    -I &lt;includepath&gt; ... Add an explicit include path.<br>
    -L &lt;librarypath&gt; ... Add an explicit library path.<br>
    -l &lt;libraryname&gt; ... Add an explicit library name, residing in a <br>
                         librarypath.<br>
<br>
explicit library name - следует понимать как файл с расширением, обрезанный, без префикса &quot;lib&quot;?<br>
<br>
И, сдается мне, от этого автоформатирование строк не изменится. <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2007-09-05T13:57:57+00:00">05.09.07, 13:57</time></span></span><br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686545'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>archimed7592 &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T13:50:38+00:00">05.09.07, 13:50</time></span><div class='quote '>то привыкни писать слеши в другую сторону</div></div><br>
пробовал, не помогает]]></description>
        <author>JavaStudent</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686545</guid>
        <pubDate>Wed, 05 Sep 2007 13:50:38 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686545</link>
        <description><![CDATA[archimed7592: Убери префиксы lib.<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">configure.exe ... -shared ... -I &quot;C:\pgsql\include&quot; -L &quot;C:\pgsql\lib&quot; -l <span style='color:red'>&quot;pq.a&quot;</span> -plugin-sql-psql</div><div class="code_line">-I &quot;C:\mysql\include&quot; -L &quot;C:\mysql\lib\opt&quot; -l <span style='color:red'>&quot;mysql.dll&quot;</span> -plugin-sql-mysql</div></ol></div></div></div></div><script>preloadCodeButtons('1');</script> <br>
<br>
<span class="tag-color tag-color-named" data-value="gray" style="color: gray"><span class='tag-size' data-value='7' style='font-size:7pt;'>Добавлено <time class="tag-mergetime" datetime="2007-09-05T13:52:54+00:00">05.09.07, 13:52</time></span></span><br>
<div class='tag-quote'><a class='tag-quote-link' href='https://forum.sources.ru/index.php?showtopic=201768&view=findpost&p=1686528'><span class='tag-quote-prefix'>Цитата</span></a> <span class='tag-quote__quote-info'>JavaStudent &#064; <time class="tag-quote__quoted-time" datetime="2007-09-05T13:43:19+00:00">05.09.07, 13:43</time></span><div class='quote '>а мои дополнительные без ковычек, так</div></div><br>
Ничего страшного... Единственное, что посоветовал бы - если сидишь под msys, то привыкни писать слеши в другую сторону(типа c:/path/lib или вообще /c/path/lib).]]></description>
        <author>archimed7592</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      <item>
        <guid isPermaLink='true'>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686528</guid>
        <pubDate>Wed, 05 Sep 2007 13:43:19 +0000</pubDate>
        <title>Кривизна QT configure или рук?</title>
        <link>https://forum.sources.ru/index.php?showtopic=201768&amp;view=findpost&amp;p=1686528</link>
        <description><![CDATA[JavaStudent: Под Windows<br>Как я понял, для конфигурации QT библиотеки с поддержкой MySQL или PostgreSQL, в соответствии с документацией следует писать примерно следующие опции<br><br>configure.exe ... -shared ... -I &quot;C:&#092;pgsql&#092;include&quot; -L &quot;C:&#092;pgsql&#092;lib&quot; -l &quot;libpq.a&quot; -plugin-sql-psql<br> -I &quot;C:&#092;mysql&#092;include&quot; -L &quot;C:&#092;mysql&#092;lib&#092;opt&quot; -l &quot;libmysql.dll&quot; -plugin-sql-mysql<br>                              <br><br>В листинге конфигуратор сообщает, что установлены<br>Дополнительные include-пути   C:&#092;mysql&#092;include C:&#092;pgsql&#092;include<br>Дополнительные библиотеки  -LC:&#092;pgsql&#092;lib -llibpq.a -LC:&#092;mysql&#092;lib&#092;opt -llibmysql.dll<br><br>Ошибки нет, но это уже неправильно..., и он продолжает дальше<br><br>Затем, после долгой конфигурации, выдает ошибку, что не может найти -llibpq.a<br>Причем в листинге видно, что все другие пути он пишет с ковычками типа так<br>-I&quot;...&quot; -L&quot;...&quot;<br><br>а мои дополнительные без ковычек, так<br><br>-I... -L... -l...<br><br>что также неправильно<br><br>т.е. он не различает опцию и аргумент в строке -llibpq.a<br><br>Перепробовал кучу обходных способов, ничего не помогает.<br>Что тут не так?]]></description>
        <author>JavaStudent</author>
        <category>Кроссплатформенный C/C++: cl/gcc/Qt/Gtk+/WxWidgets</category>
      </item>
	
      </channel>
      </rss>
	