Important: Please read the Qt Code of Conduct -

Problem installing wwwidgets

  • I had problem installing wwwidgets, i have not approach any error in my qmake, make for any project in Qt, Please kindly assist.

    1>i went into the website:
    2>downloaded wwWidgets 1.0 source code (Qt5 compatible)
    5>not successful, below is my error

    common@ubuntu:~/Desktop/widgets/wwWidgets$ make
    cd widgets/ && make -f Makefile
    make[1]: Entering directory /home/common/Desktop/widgets/wwWidgets/widgets' make -f Makefile.Release make[2]: Entering directory/home/common/Desktop/widgets/wwWidgets/widgets'
    arm-linux-gnueabi-g++ -c -D_REENTRANT -DWW_BUILD_WWWIDGETS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/qt/mkspecs/linux-armf600-g++ -I. -I/opt/f600/usr/include/qt4/QtCore -I/opt/f600/usr/include/qt4/QtGui -I/opt/f600/usr/include/qt4 -Iqwwbuttonlineedit -Iqwwclearlineedit -Iqwwcolorbutton -Iqwwcolorcombobox -Iqwwconfigwidget -Iqwwfilechooser -Iqwwhuesatpicker -Iqwwhuesatradialpicker -Iqwwled -Iqwwlistnavigator -Iqwwlistwidget -Iqwwloginbox -Iqwwlongspinbox -Iqwwnavigationbar -Iqwwnumpad -Iqwwresetlineedit -Iqwwrichtextbutton -Iqwwrichtextedit -Iqwwtaskpanel -Iqwwtextspinbox -Iqwwtipwidget -Iqwwtwocolorindicator -I. -I.moc -I.ui -o .obj/qwwbuttonlineedit.o qwwbuttonlineedit/qwwbuttonlineedit.cpp
    qwwbuttonlineedit/qwwbuttonlineedit.cpp: In member function ‘virtual void QwwButtonLineEdit::paintEvent(QPaintEvent*)’:
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:439:19: error: variable ‘QPainter p’ has initializer but incomplete type
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:441:9: error: ‘QStyleOptionFrameV2’ was not declared in this scope
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:441:29: error: expected ‘;’ before ‘panel’
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:442:26: error: ‘panel’ was not declared in this scope
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:443:26: error: invalid use of incomplete type ‘struct QStyle’
    /opt/f600/usr/include/qt4/QtGui/qwidget.h:71:7: error: forward declaration of ‘struct QStyle’
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:443:43: error: incomplete type ‘QStyle’ used in nested name specifier
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:455:28: error: incomplete type ‘QStyle’ used in nested name specifier
    qwwbuttonlineedit/qwwbuttonlineedit.cpp:477:14: error: variable ‘QPen oldpen’ has initializer but incomplete type
    make[2]: *** [.obj/qwwbuttonlineedit.o] Error 1
    make[2]: Leaving directory /home/common/Desktop/widgets/wwWidgets/widgets' make[1]: *** [release] Error 2 make[1]: Leaving directory/home/common/Desktop/widgets/wwWidgets/widgets'
    make: *** [sub-widgets-make_default-ordered] Error 2

  • 1> in below link. it mention about dynamic link/plugin i can plug into my project. but i can't find it.

  • Lifetime Qt Champion


    What qmake did you call ? With what options ? Where and how did you call it ?

  • i open qt, load the wwwidgets4, build. error [plugin/makefile]error 2

  • /opt/qt/bin/qmake -spec /opt/qt/mkspecs/linux-armf600-g++ -unix -o Makefile
    and then i run make.
    It work for every project but not

    /usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/../lib/crt1.o: In function _start': (.text+0x30): undefined reference tomain'
    ../widgets/ undefined reference to QWidget::qwsEvent(QWSEvent*)' collect2: ld returned 1 exit status make[1]: *** [] Error 1 make[1]: Leaving directory/home/common/apps/wwWidgets/plugin'
    make: *** [sub-plugin-make_default-ordered] Error 2

  • Lifetime Qt Champion

    Looks like it's not linking to the correct QtWidget library

Log in to reply