[Решено]Test не собирается

Kubuntu, Xubuntu и другие

Модератор: Модераторы разделов

Аватара пользователя
HAW
Сообщения: 1328
ОС: ALT 4.1branch

[Решено]Test не собирается

Сообщение HAW »

сначала делаю
для сервера и клиента lrelease-qt4
потом
qmake-qt4 -config release

Код: Выделить всё

$ make
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DITESTSERVER -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSvg -I/usr/include/qt4 -I.build.unix -I. -o .build.unix/main.o main.cpp
In file included from ../shared/../iTestServer/mtlistwidget.h:26:0,
                 from ../shared/../iTestServer/ui_main_window_v2.h:52,
                 from ../shared/../iTestServer/main_window.h:23,
                 from ../shared/main.h:26,
                 from main.cpp:13:
../shared/../iTestServer/mtwidgetpalettes.h: In constructor ‘SearchLineEditPalettes::SearchLineEditPalettes()’:
../shared/../iTestServer/mtwidgetpalettes.h:30:100: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:30:100: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:31:96: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:31:96: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:32:102: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:32:102: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:33:98: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:33:98: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:34:101: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:34:101: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:35:99: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:35:99: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:36:103: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:36:103: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtwidgetpalettes.h:37:101: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtwidgetpalettes.h:37:101: error:   for a function-style cast, remove the redundant ‘::QColor’
In file included from ../shared/../iTestServer/ui_main_window_v2.h:52:0,
                 from ../shared/../iTestServer/main_window.h:23,
                 from ../shared/main.h:26,
                 from main.cpp:13:
../shared/../iTestServer/mtlistwidget.h: In static member function ‘static void MTListWidget::highlightItem(QListWidgetItem*)’:
../shared/../iTestServer/mtlistwidget.h:60:99: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtlistwidget.h:60:99: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtlistwidget.h:60:100: error: cannot call constructor ‘QBrush::QBrush’ directly
../shared/../iTestServer/mtlistwidget.h:60:100: error:   for a function-style cast, remove the redundant ‘::QBrush’
../shared/../iTestServer/mtlistwidget.h:61:93: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtlistwidget.h:61:93: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtlistwidget.h:61:94: error: cannot call constructor ‘QBrush::QBrush’ directly
../shared/../iTestServer/mtlistwidget.h:61:94: error:   for a function-style cast, remove the redundant ‘::QBrush’
../shared/../iTestServer/mtlistwidget.h:63:72: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtlistwidget.h:63:72: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtlistwidget.h:63:73: error: cannot call constructor ‘QBrush::QBrush’ directly
../shared/../iTestServer/mtlistwidget.h:63:73: error:   for a function-style cast, remove the redundant ‘::QBrush’
../shared/../iTestServer/mtlistwidget.h:64:66: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtlistwidget.h:64:66: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtlistwidget.h:64:67: error: cannot call constructor ‘QBrush::QBrush’ directly
../shared/../iTestServer/mtlistwidget.h:64:67: error:   for a function-style cast, remove the redundant ‘::QBrush’
../shared/../iTestServer/mtlistwidget.h: In static member function ‘static bool MTListWidget::isItemHighlighted(QListWidgetItem*)’:
../shared/../iTestServer/mtlistwidget.h:70:82: error: cannot call constructor ‘QColor::QColor’ directly
../shared/../iTestServer/mtlistwidget.h:70:82: error:   for a function-style cast, remove the redundant ‘::QColor’
../shared/../iTestServer/mtlistwidget.h:70:83: error: cannot call constructor ‘QBrush::QBrush’ directly
../shared/../iTestServer/mtlistwidget.h:70:83: error:   for a function-style cast, remove the redundant ‘::QBrush’
make: *** [.build.unix/main.o] Ошибка 1

как его собрать или может кто собранный видел?
хочется вывести в чисто поле,
поставить лицом к стенке
и выстрелить в лоб,
что бы поняли!!!
Спасибо сказали:
Аватара пользователя
HAW
Сообщения: 1328
ОС: ALT 4.1branch

Re: [Решено]Test не собирается

Сообщение HAW »

хочется вывести в чисто поле,
поставить лицом к стенке
и выстрелить в лоб,
что бы поняли!!!
Спасибо сказали: