Ubuntu Build Error.
See original GitHub issueThe error as follow:
......
../../QtScrcpy-1.4.5/QtScrcpy/dialog.cpp: In member function ‘void Dialog::execAdbCmd()’:
../../QtScrcpy-1.4.5/QtScrcpy/dialog.cpp:140:78: error: ‘SkipEmptyParts’ is not a member of ‘Qt’
m_adb.execute(ui->serialBox->currentText().trimmed(), cmd.split(" ", Qt::SkipEmptyParts));
^~~~~~~~~~~~~~
Makefile:953: recipe for target 'dialog.o' failed
make[1]: Leaving directory '/home/agou-ops/Downloads/build-all-Desktop-Release/QtScrcpy'
make[1]: *** [dialog.o] Error 1
make: *** [sub-QtScrcpy-make_first] Error 2
Makefile:44: recipe for target 'sub-QtScrcpy-make_first' failed
10:39:58: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project all (kit: Desktop)
When executing step "Make"
QTCreator Version: 4.5.2 and my Build option is release.
How should I fix it?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
How to Fix the "make: command not found" Error in Ubuntu
Want to build a package but stuck with the "make: command not found" error in Ubuntu? Here's how you can get rid of...
Read more >Build From Source Ubuntu Error[OPEN] - KiCad.info Forums
Hi everyone, I'm trying to build kicad from source on ubuntu 20.04. I cloned the codes from the link git clone kicad -...
Read more >Compile error on Ubuntu 20.04 · Issue #1048 - GitHub
It looks like it tries to link to Ubuntu's libtiff 5, not the libtiff4.2 that it compiles already in the install folder. ........
Read more >gcc build and compile error ubuntu 20.04
This one solved my problem. The point is that do not pay attention to the exact version number, for example there is no...
Read more >Build error on Ubuntu 20.10 - Google Groups
I"m getting the following error when building on Ubuntu 20.10: ERROR at //build/config/sysroot.gni:65:11: Script returned non-zero exit code ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here is what I did: Changed all
Qt::SkipEmptyParts
toQString::SplitBehavior::SkipEmptyParts
Changed allposition()
toposf()
(not sure if is rigth anyway)Anyway my build binary: QtScrcpy.zip As a extra, a version with small changes: QtScrcpy Linux Custom.zip
@BobbyWibowo, Thanks for your information. After installing the latest QT with the online installer, I could build it successfully.