[GH-ISSUE #154] Building against org.kde.{Sdk,Platform}//5.12 doesn't work #121

Closed
opened 2026-05-05 05:19:18 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @AdrianKoshka on GitHub (Oct 15, 2018).
Original GitHub issue: https://github.com/debauchee/barrier/issues/154

Originally assigned to: @walker0643, @AdrianKoshka on GitHub.

Operating Systems

Build machine: Debian Stretch (Google cloud shell)

Barrier Version

2.1.1

TL;DR of it

Right now, the flatpak for barrier is built against org.kde.{Sdk,Platform//5.10. 5.11 is available and is what the windows build uses (5.11.1 specifically for windows). Though attempting to build against 5.11 fails.

Output

[140/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o
FAILED: src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o 
/usr/bin/c++   -DBARRIER_BUILD_DATE=\"20181015\" -DBARRIER_BUILD_NUMBER=1 -DBARRIER_REVISION=\"773a0081\" -DBARRIER_VERSION=\"2.1.0-snapshot\" -DBARRIER_VERSION_STAGE=\"snapshot\" -DBARRIER_VERSION_STRING=\"2.1.0-snapshot-snapshot.b1-773a0081\" -DHAVE_CONFIG_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -Isrc/gui -isystem ./ext/gtest/include -Isrc/./lib -Isrc/lib -Isrc/gui/./src -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -O2 -g -I/app/include/avahi-compat-libdns_sd -fPIC   -fPIC -std=c++14 -MD -MT src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -MF src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o.d -o src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -c /run/build/barrier/src/gui/src/ActionDialog.cpp
/run/build/barrier/src/gui/src/ActionDialog.cpp: In constructor ‘ActionDialog::ActionDialog(QWidget*, ServerConfig&, Hotkey&, Action&)’:
/run/build/barrier/src/gui/src/ActionDialog.cpp:35:45: error: invalid use of incomplete type ‘class QButtonGroup’
     m_pButtonGroupType(new QButtonGroup(this))
                                             ^
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:44:27: error: invalid use of incomplete type ‘class QButtonGroup’
         m_pButtonGroupType->addButton(typeButtons[i], i);
                           ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:48:23: error: invalid use of incomplete type ‘class QButtonGroup’
     m_pButtonGroupType->button(m_Action.type())->setChecked(true);
                       ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp: In member function ‘virtual void ActionDialog::accept()’:
/run/build/barrier/src/gui/src/ActionDialog.cpp:78:57: error: invalid use of incomplete type ‘class QButtonGroup’
     if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3)
                                                         ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:78:97: error: invalid use of incomplete type ‘class QButtonGroup’
     if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3)
                                                                                                 ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:82:40: error: invalid use of incomplete type ‘class QButtonGroup’
     m_Action.setType(m_pButtonGroupType->checkedId());
                                        ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
ninja: build stopped: subcommand failed.
Originally created by @AdrianKoshka on GitHub (Oct 15, 2018). Original GitHub issue: https://github.com/debauchee/barrier/issues/154 Originally assigned to: @walker0643, @AdrianKoshka on GitHub. ### Operating Systems ### Build machine: Debian Stretch (Google cloud shell) ### Barrier Version ### 2.1.1 ### TL;DR of it Right now, the flatpak for barrier is built against org.kde.{Sdk,Platform//5.10. 5.11 is available and is what the windows build uses (5.11.1 specifically for windows). Though attempting to build against 5.11 fails. ### Output ``` [140/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o FAILED: src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o /usr/bin/c++ -DBARRIER_BUILD_DATE=\"20181015\" -DBARRIER_BUILD_NUMBER=1 -DBARRIER_REVISION=\"773a0081\" -DBARRIER_VERSION=\"2.1.0-snapshot\" -DBARRIER_VERSION_STAGE=\"snapshot\" -DBARRIER_VERSION_STRING=\"2.1.0-snapshot-snapshot.b1-773a0081\" -DHAVE_CONFIG_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -Isrc/gui -isystem ./ext/gtest/include -Isrc/./lib -Isrc/lib -Isrc/gui/./src -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -O2 -g -I/app/include/avahi-compat-libdns_sd -fPIC -fPIC -std=c++14 -MD -MT src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -MF src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o.d -o src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -c /run/build/barrier/src/gui/src/ActionDialog.cpp /run/build/barrier/src/gui/src/ActionDialog.cpp: In constructor ‘ActionDialog::ActionDialog(QWidget*, ServerConfig&, Hotkey&, Action&)’: /run/build/barrier/src/gui/src/ActionDialog.cpp:35:45: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType(new QButtonGroup(this)) ^ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:44:27: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType->addButton(typeButtons[i], i); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:48:23: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType->button(m_Action.type())->setChecked(true); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp: In member function ‘virtual void ActionDialog::accept()’: /run/build/barrier/src/gui/src/ActionDialog.cpp:78:57: error: invalid use of incomplete type ‘class QButtonGroup’ if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3) ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:78:97: error: invalid use of incomplete type ‘class QButtonGroup’ if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3) ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:82:40: error: invalid use of incomplete type ‘class QButtonGroup’ m_Action.setType(m_pButtonGroupType->checkedId()); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ ninja: build stopped: subcommand failed. ```
gitea-mirror 2026-05-05 05:19:18 -06:00
  • closed this issue
  • added the
    bug
    linux
    labels
Author
Owner

@AdrianKoshka commented on GitHub (Dec 16, 2018):

[68/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o
FAILED: src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o 
/run/ccache/bin/c++   -DBARRIER_BUILD_DATE=\"20181216\" -DBARRIER_BUILD_NUMBER=1 -DBARRIER_REVISION=\"773a0081\" -DBARRIER_VERSION=\"2.1.0-snapshot\" -DBARRIER_VERSION_STAGE=\"snapshot\" -DBARRIER_VERSION_STRING=\"2.1.0-snapshot-snapshot.b1-773a0081\" -DHAVE_CONFIG_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -Isrc/gui -isystem ./ext/gtest/include -Isrc/./lib -Isrc/lib -Isrc/gui/./src -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -O2 -g -I/app/include/avahi-compat-libdns_sd -fPIC   -fPIC -std=c++14 -MD -MT src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -MF src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o.d -o src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -c /run/build/barrier/src/gui/src/ActionDialog.cpp
/run/build/barrier/src/gui/src/ActionDialog.cpp: In constructor ‘ActionDialog::ActionDialog(QWidget*, ServerConfig&, Hotkey&, Action&)’:
/run/build/barrier/src/gui/src/ActionDialog.cpp:35:45: error: invalid use of incomplete type ‘class QButtonGroup’
     m_pButtonGroupType(new QButtonGroup(this))
                                             ^
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:44:27: error: invalid use of incomplete type ‘class QButtonGroup’
         m_pButtonGroupType->addButton(typeButtons[i], i);
                           ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:48:23: error: invalid use of incomplete type ‘class QButtonGroup’
     m_pButtonGroupType->button(m_Action.type())->setChecked(true);
                       ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp: In member function ‘virtual void ActionDialog::accept()’:
/run/build/barrier/src/gui/src/ActionDialog.cpp:78:57: error: invalid use of incomplete type ‘class QButtonGroup’
     if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3)
                                                         ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:78:97: error: invalid use of incomplete type ‘class QButtonGroup’
     if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3)
                                                                                                 ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
/run/build/barrier/src/gui/src/ActionDialog.cpp:82:40: error: invalid use of incomplete type ‘class QButtonGroup’
     m_Action.setType(m_pButtonGroupType->checkedId());
                                        ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44:0,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/ui_ActionDialogBase.h:21,
                 from /run/build/barrier/src/gui/src/ActionDialog.h:25,
                 from /run/build/barrier/src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
[71/181] Building CXX object src/lib/barrier/CMakeFiles/synlib.dir/DragInformation.cpp.o
ninja: build stopped: subcommand failed.
Error: module barrier: Child process exited with code 1
make: *** [Makefile:8: build] Error 1
<!-- gh-comment-id:447678956 --> @AdrianKoshka commented on GitHub (Dec 16, 2018): ``` [68/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o FAILED: src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o /run/ccache/bin/c++ -DBARRIER_BUILD_DATE=\"20181216\" -DBARRIER_BUILD_NUMBER=1 -DBARRIER_REVISION=\"773a0081\" -DBARRIER_VERSION=\"2.1.0-snapshot\" -DBARRIER_VERSION_STAGE=\"snapshot\" -DBARRIER_VERSION_STRING=\"2.1.0-snapshot-snapshot.b1-773a0081\" -DHAVE_CONFIG_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -Isrc/gui -isystem ./ext/gtest/include -Isrc/./lib -Isrc/lib -Isrc/gui/./src -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -O2 -g -I/app/include/avahi-compat-libdns_sd -fPIC -fPIC -std=c++14 -MD -MT src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -MF src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o.d -o src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -c /run/build/barrier/src/gui/src/ActionDialog.cpp /run/build/barrier/src/gui/src/ActionDialog.cpp: In constructor ‘ActionDialog::ActionDialog(QWidget*, ServerConfig&, Hotkey&, Action&)’: /run/build/barrier/src/gui/src/ActionDialog.cpp:35:45: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType(new QButtonGroup(this)) ^ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:44:27: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType->addButton(typeButtons[i], i); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:48:23: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType->button(m_Action.type())->setChecked(true); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp: In member function ‘virtual void ActionDialog::accept()’: /run/build/barrier/src/gui/src/ActionDialog.cpp:78:57: error: invalid use of incomplete type ‘class QButtonGroup’ if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3) ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:78:97: error: invalid use of incomplete type ‘class QButtonGroup’ if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3) ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ /run/build/barrier/src/gui/src/ActionDialog.cpp:82:40: error: invalid use of incomplete type ‘class QButtonGroup’ m_Action.setType(m_pButtonGroupType->checkedId()); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44:0, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/ui_ActionDialogBase.h:21, from /run/build/barrier/src/gui/src/ActionDialog.h:25, from /run/build/barrier/src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ [71/181] Building CXX object src/lib/barrier/CMakeFiles/synlib.dir/DragInformation.cpp.o ninja: build stopped: subcommand failed. Error: module barrier: Child process exited with code 1 make: *** [Makefile:8: build] Error 1 ```
Author
Owner

@AdrianKoshka commented on GitHub (Jan 12, 2019):

Closing this to see if I can build against 5.12 instead.

<!-- gh-comment-id:453711226 --> @AdrianKoshka commented on GitHub (Jan 12, 2019): Closing this to see if I can build against 5.12 instead.
Author
Owner

@AdrianKoshka commented on GitHub (Jan 12, 2019):

5.12 fails, but fails differently?

[142/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o
FAILED: src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o
/run/ccache/bin/c++  -DBARRIER_BUILD_DATE=\"20190112\" -DBARRIER_BUILD_NUMBER=1 -DBARRIER_REVISION=\"773a0081\" -DBARRIER_VERSION=\"2.1.0-snapshot\" -DBARRIER_VERSION_STAGE=\"snapshot\" -DBARRIER_VERSION_STRING=\"2.1.0-snapshot-snapshot.b1-773a0081\" -DHAVE_CONFIG_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -Isrc/gui -Isrc/gui/barrier_autogen/include -Isrc/./lib -Isrc/lib -Isrc/gui/./src -isystem ./ext/gtest/include -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -march=x86-64 -mtune=generic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -I/app/include/avahi-compat-libdns_sd -fPIC   -fPIC -std=c++14 -MD -MT src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -MF src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o.d -o src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -c src/gui/src/ActionDialog.cpp
src/gui/src/ActionDialog.cpp: In constructor ‘ActionDialog::ActionDialog(QWidget*, ServerConfig&, Hotkey&, Action&)’:
src/gui/src/ActionDialog.cpp:35:45: error: invalid use of incomplete type ‘class QButtonGroup’
     m_pButtonGroupType(new QButtonGroup(this))
                                             ^
In file included from /usr/include/QtWidgets/qradiobutton.h:44,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21,
                 from src/gui/src/ActionDialog.h:25,
                 from src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
src/gui/src/ActionDialog.cpp:44:27: error: invalid use of incomplete type ‘class QButtonGroup’
         m_pButtonGroupType->addButton(typeButtons[i], i);
                           ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21,
                 from src/gui/src/ActionDialog.h:25,
                 from src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
src/gui/src/ActionDialog.cpp:48:23: error: invalid use of incomplete type ‘class QButtonGroup’
     m_pButtonGroupType->button(m_Action.type())->setChecked(true);
                       ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21,
                 from src/gui/src/ActionDialog.h:25,
                 from src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
src/gui/src/ActionDialog.cpp: In member function ‘virtual void ActionDialog::accept()’:
src/gui/src/ActionDialog.cpp:78:57: error: invalid use of incomplete type ‘class QButtonGroup’
     if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3)
                                                         ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21,
                 from src/gui/src/ActionDialog.h:25,
                 from src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
src/gui/src/ActionDialog.cpp:78:97: error: invalid use of incomplete type ‘class QButtonGroup’
     if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3)
                                                                                                 ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21,
                 from src/gui/src/ActionDialog.h:25,
                 from src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
src/gui/src/ActionDialog.cpp:82:40: error: invalid use of incomplete type ‘class QButtonGroup’
     m_Action.setType(m_pButtonGroupType->checkedId());
                                        ^~
In file included from /usr/include/QtWidgets/qradiobutton.h:44,
                 from /usr/include/QtWidgets/QRadioButton:1,
                 from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21,
                 from src/gui/src/ActionDialog.h:25,
                 from src/gui/src/ActionDialog.cpp:19:
/usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
 class QButtonGroup;
       ^~~~~~~~~~~~
[145/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/AppConfig.cpp.o
ninja: build stopped: subcommand failed.
<!-- gh-comment-id:453712038 --> @AdrianKoshka commented on GitHub (Jan 12, 2019): 5.12 fails, but fails differently? ``` [142/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o FAILED: src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o /run/ccache/bin/c++ -DBARRIER_BUILD_DATE=\"20190112\" -DBARRIER_BUILD_NUMBER=1 -DBARRIER_REVISION=\"773a0081\" -DBARRIER_VERSION=\"2.1.0-snapshot\" -DBARRIER_VERSION_STAGE=\"snapshot\" -DBARRIER_VERSION_STRING=\"2.1.0-snapshot-snapshot.b1-773a0081\" -DHAVE_CONFIG_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -Isrc/gui -Isrc/gui/barrier_autogen/include -Isrc/./lib -Isrc/lib -Isrc/gui/./src -isystem ./ext/gtest/include -isystem /usr/include/QtCore -isystem /usr/lib/mkspecs/linux-g++ -isystem /usr/include/QtWidgets -isystem /usr/include/QtGui -isystem /usr/include/QtNetwork -march=x86-64 -mtune=generic -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -I/app/include/avahi-compat-libdns_sd -fPIC -fPIC -std=c++14 -MD -MT src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -MF src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o.d -o src/gui/CMakeFiles/barrier.dir/src/ActionDialog.cpp.o -c src/gui/src/ActionDialog.cpp src/gui/src/ActionDialog.cpp: In constructor ‘ActionDialog::ActionDialog(QWidget*, ServerConfig&, Hotkey&, Action&)’: src/gui/src/ActionDialog.cpp:35:45: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType(new QButtonGroup(this)) ^ In file included from /usr/include/QtWidgets/qradiobutton.h:44, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21, from src/gui/src/ActionDialog.h:25, from src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ src/gui/src/ActionDialog.cpp:44:27: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType->addButton(typeButtons[i], i); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21, from src/gui/src/ActionDialog.h:25, from src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ src/gui/src/ActionDialog.cpp:48:23: error: invalid use of incomplete type ‘class QButtonGroup’ m_pButtonGroupType->button(m_Action.type())->setChecked(true); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21, from src/gui/src/ActionDialog.h:25, from src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ src/gui/src/ActionDialog.cpp: In member function ‘virtual void ActionDialog::accept()’: src/gui/src/ActionDialog.cpp:78:57: error: invalid use of incomplete type ‘class QButtonGroup’ if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3) ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21, from src/gui/src/ActionDialog.h:25, from src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ src/gui/src/ActionDialog.cpp:78:97: error: invalid use of incomplete type ‘class QButtonGroup’ if (!sequenceWidget()->valid() && m_pButtonGroupType->checkedId() >= 0 && m_pButtonGroupType->checkedId() < 3) ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21, from src/gui/src/ActionDialog.h:25, from src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ src/gui/src/ActionDialog.cpp:82:40: error: invalid use of incomplete type ‘class QButtonGroup’ m_Action.setType(m_pButtonGroupType->checkedId()); ^~ In file included from /usr/include/QtWidgets/qradiobutton.h:44, from /usr/include/QtWidgets/QRadioButton:1, from src/gui/barrier_autogen/include/ui_ActionDialogBase.h:21, from src/gui/src/ActionDialog.h:25, from src/gui/src/ActionDialog.cpp:19: /usr/include/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’ class QButtonGroup; ^~~~~~~~~~~~ [145/181] Building CXX object src/gui/CMakeFiles/barrier.dir/src/AppConfig.cpp.o ninja: build stopped: subcommand failed. ```
Author
Owner

@AdrianKoshka commented on GitHub (Jan 12, 2019):

Update, I got barrier to build by using the tag v2.1.2

<!-- gh-comment-id:453712939 --> @AdrianKoshka commented on GitHub (Jan 12, 2019): Update, I got barrier to build by using the tag v2.1.2
Author
Owner

@AdrianKoshka commented on GitHub (Jan 12, 2019):

Client and Server appear to be working, finally able to close for good.

<!-- gh-comment-id:453715667 --> @AdrianKoshka commented on GitHub (Jan 12, 2019): Client and Server appear to be working, finally able to close for good.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#121
No description provided.