Menu

Building on Ubuntu 11.04 (64) doesn't work

Help
snowdrop
2011-07-30
2013-03-07
  • snowdrop

    snowdrop - 2011-07-30

    I can't perform a successfull  make and get the following:

    nickname@air:~/itest/trunk$ make
    cd iTestServer/ && make -f Makefile
    make: Går till katalogen "/home/snowdrop/itest/trunk/iTestServer"
    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: ***  Fel 1
    make: Lämnar katalogen "/home/snowdrop/itest/trunk/iTestServer"
    make: ***  Fel 2

     
  • Michal Tomlein

    Michal Tomlein - 2011-07-30

    Thanks, fixed.

    Clone it from here: git://github.com/michal-tomlein/itest.git (git clone git://github.com/michal-tomlein/itest.git itest). I no longer update the SVN repository.

    Michal

     
  • snowdrop

    snowdrop - 2011-07-30

    Thanks for the rapid answer & better yet  - for a working solution! It compiled just fine now in Ubuntu 11.04 (64). Amazing piece of software! Do you have a paypal-email so I can buy you a coffee?

     
  • snowdrop

    snowdrop - 2011-07-31

    Ah, finally found the donation link… done.

     

Log in to post a comment.