Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Problem installing wwwidgets
Qt 6.11 is out! See what's new in the release blog

Problem installing wwwidgets

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 2 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    houmingc
    wrote on last edited by
    #1

    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: http://www.wysota.eu.org/wwwidgets/
    2>downloaded wwWidgets 1.0 source code (Qt5 compatible)
    3>qmake
    4>make
    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 Reply Last reply
    0
    • H Offline
      H Offline
      houmingc
      wrote on last edited by
      #2

      1> in below link. it mention about dynamic link/plugin i can plug into my project. but i can't find it.
      http://www.qtcentre.org/threads/26195-install-wwWidgets-failed

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

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

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • H Offline
          H Offline
          houmingc
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • H Offline
            H Offline
            houmingc
            wrote on last edited by
            #5

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

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

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

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

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved