@bickman2k if you read previous comments you can see that it has troubles when compiled with qt5.
Search Criteria
Package Details: qwbfs 1.2.6-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/qwbfs.git (read-only, click to copy) |
---|---|
Package Base: | qwbfs |
Description: | Cross platform WBFS file system manager |
Upstream URL: | https://github.com/pasnox/qwbfsmanager |
Licenses: | GPL2 |
Submitter: | vinipsmaker |
Maintainer: | NaBoo |
Last Packager: | twiggers |
Votes: | 27 |
Popularity: | 0.000000 |
First Submitted: | 2012-07-01 16:13 (UTC) |
Last Updated: | 2019-12-16 13:52 (UTC) |
micwoj92 commented on 2021-06-19 02:03 (UTC)
bickman2k commented on 2021-06-18 22:41 (UTC)
Would it be possible to change the dependency to Qt5 since, per the Github page, version 1.2.5+ should support being built with either Qt4 or Qt5?
twiggers commented on 2020-04-26 08:22 (UTC)
@jamesjon: compiles fine for me in a clean chroot.
jomocu commented on 2020-04-25 20:13 (UTC)
Not work, compile failure
possum commented on 2019-07-01 22:38 (UTC)
I applied the suggested patch by Naboo and followed Gamon instructions about QT_X11_NO_MITSHM. The app is running properly. Please update the package.
Quot commented on 2018-10-03 00:45 (UTC) (edited on 2018-10-03 02:33 (UTC) by Quot)
Thanks, NaBoo. That patch worked perfectly for me.
Also, when I have to run QWBFS with sudo to get it to read from my external drive (which, I believe is normal), but it wasn't rendering properly. If anyone else is having this issue, try running the program with "sudo QT_X11_NO_MITSHM=1 qwbfsmanager". That allowed me to run as sudo and have it render properly.
This issue seems to come from a newer security feature in QT. I found the solution here: https://github.com/unetbootin/unetbootin/issues/66#issuecomment-219277217
NaBoo commented on 2018-09-05 20:18 (UTC) (edited on 2018-09-05 20:22 (UTC) by NaBoo)
Hi partsman,
I have successfully build this package with this patch:
--- qwbfs-ori/PKGBUILD 2018-09-05 22:15:01.497970045 +0200
+++ qwbfs/PKGBUILD 2018-09-05 22:14:00.144173918 +0200
@@ -9,28 +9,19 @@
# Also 'openssl', but already satisfied:
depends=('qt5-base' 'hicolor-icon-theme')
makedepends=('git')
-source=("qwbfs::git+https://github.com/pasnox/qwbfsmanager.git#tag=v1.2.6"
- "fresh::git+https://github.com/pasnox/fresh.git#commit=264d665965c0f439bc91e7f51c31e2b76eea8753"
- "qmake-extensions::git+https://github.com/pasnox/qmake-extensions.git#commit=b60b99bccbfda40136c8aa1a54770543519feda8")
-sha1sums=('SKIP' 'SKIP' 'SKIP')
+source=("qwbfs::git+https://github.com/pasnox/qwbfsmanager.git#tag=v1.2.6")
+sha1sums=('SKIP')
prepare() {
cd "$srcdir/qwbfs"
- git submodule init
- git config submodule.fresh.git.url "$srcdir/fresh"
- git submodule update
-
- cd "fresh.git"
- git submodule init
- git config submodule.qmake-extensions.git.url "$srcdir/qmake-extensions"
- git submodule update
+ git submodule update --init --recursive
}
build() {
cd "$srcdir/qwbfs"
- qmake PREFIX=/usr
- make
+ qmake-qt4 PREFIX=/usr
+ make -j 16
}
package() {
Hope it can help you.
partsman commented on 2018-07-22 21:44 (UTC) (edited on 2018-07-22 21:46 (UTC) by partsman)
I see its been a while since this package was updated. Getting build errors. Any help would be much appreciated.
errors:
src/gui/pSpinBox.cpp:43:1: error: expected class-name before ‘{’ token { ^ src/gui/pSpinBox.cpp: In constructor ‘Frame::Frame(QWidget)’: src/gui/pSpinBox.cpp:46:9: error: class ‘Frame’ does not have any field named ‘QFrame’ : QFrame( parent, Qt::Popup ), ^~~~~~ src/gui/pSpinBox.cpp:47:34: error: no matching function for call to ‘Slider::Slider(Frame)’ slider( new Slider( this ) ) ^ src/gui/pSpinBox.cpp:34:5: note: candidate: ‘Slider::Slider(QWidget)’ Slider( QWidget parent = 0 ) ^~~~~~ src/gui/pSpinBox.cpp:34:5: note: no known conversion for argument 1 from ‘Frame’ to ‘QWidget’ src/gui/pSpinBox.cpp:49:7: error: ‘setAttribute’ was not declared in this scope setAttribute( Qt::WA_DeleteOnClose ); ^~~~~~~~~~~~ src/gui/pSpinBox.cpp:49:7: note: suggested alternative: ‘setstate’ setAttribute( Qt::WA_DeleteOnClose ); ^~~~~~~~~~~~ setstate src/gui/pSpinBox.cpp:50:22: error: ‘QFrame’ has not been declared setFrameStyle( QFrame::Sunken | QFrame::StyledPanel ); ^~~~~~ src/gui/pSpinBox.cpp:50:39: error: ‘QFrame’ has not been declared setFrameStyle( QFrame::Sunken | QFrame::StyledPanel ); ^~~~~~ src/gui/pSpinBox.cpp:50:7: error: ‘setFrameStyle’ was not declared in this scope setFrameStyle( QFrame::Sunken | QFrame::StyledPanel ); ^~~~~~~~~~~~~ src/gui/pSpinBox.cpp:52:51: error: no matching function for call to ‘QHBoxLayout::QHBoxLayout(Frame)’ QHBoxLayout layout = new QHBoxLayout( this ); ^ In file included from /usr/include/qt/QtWidgets/QHBoxLayout:1, from build/Linux-x86_64/release/ui/ui_pSpinBox.h:15, from src/gui/pSpinBox.cpp:27: /usr/include/qt/QtWidgets/qboxlayout.h:118:14: note: candidate: ‘QHBoxLayout::QHBoxLayout(QWidget)’ explicit QHBoxLayout(QWidget parent); ^~~~~~~~~~~ /usr/include/qt/QtWidgets/qboxlayout.h:118:14: note: no known conversion for argument 1 from ‘Frame’ to ‘QWidget’ /usr/include/qt/QtWidgets/qboxlayout.h:117:5: note: candidate: ‘QHBoxLayout::QHBoxLayout()’ QHBoxLayout(); ^~~~~~~~~~~ /usr/include/qt/QtWidgets/qboxlayout.h:117:5: note: candidate expects 0 arguments, 1 provided src/gui/pSpinBox.cpp:53:26: error: ‘frameWidth’ was not declared in this scope layout->setMargin( frameWidth() ); ^~~~~~~~~~ src/gui/pSpinBox.cpp: In member function ‘void pSpinBox::on_tbToolButton_clicked()’: src/gui/pSpinBox.cpp:208:23: error: ‘class Frame’ has no member named ‘sizeHint’ QSize sh = frame->sizeHint(); ^~~~~~~~ src/gui/pSpinBox.cpp:211:12: error: ‘class Frame’ has no member named ‘resize’ frame->resize( sh ); ^~~~~~ src/gui/pSpinBox.cpp:213:42: error: ‘class Frame’ has no member named ‘size’; did you mean ‘slider’? QRect rect = QRect( QPoint(), frame->size() ); ^~~~ slider src/gui/pSpinBox.cpp:217:12: error: ‘class Frame’ has no member named ‘move’ frame->move( rect.topLeft() ); ^~~~ src/gui/pSpinBox.cpp:218:12: error: ‘class Frame’ has no member named ‘show’ frame->show(); ^~~~ make[1]: [Makefile.fresh:1491: build/Linux-x86_64/release/obj/pSpinBox.o] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-me/aur-qwbfs/src/qwbfs/fresh.git' make: [Makefile:47: sub-fresh-git-fresh-pro-make_first-ordered] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build qwbfs. ==> Restart building qwbfs ? [y/N] ==> ------------------------------ ==>
Pinned Comments
Quot commented on 2018-10-03 00:45 (UTC) (edited on 2018-10-03 02:33 (UTC) by Quot)
Thanks, NaBoo. That patch worked perfectly for me.
Also, when I have to run QWBFS with sudo to get it to read from my external drive (which, I believe is normal), but it wasn't rendering properly. If anyone else is having this issue, try running the program with "sudo QT_X11_NO_MITSHM=1 qwbfsmanager". That allowed me to run as sudo and have it render properly.
This issue seems to come from a newer security feature in QT. I found the solution here: https://github.com/unetbootin/unetbootin/issues/66#issuecomment-219277217