Comments (12)
Hi, seems that you are using Qt4 instead of Qt5.
from apk-icon-editor.
I have both Qt4 and Qt5 installed. Would you mind pointing me to the Linux compilation instructions? Perhaps I missed any step.
from apk-icon-editor.
If you are using QtCreator, make sure that the needed Qt5 version is listed under the Tools
--> Options
--> Build & Run
--> Qt Versions
menu. Also, check the Kits
tab in the same dialog:
- If Qt5 is present, select it in the
Projects
tab which is located on the left pane of the main window. - If Qt5 is not present, add the qmake version manually and create the corresponding kit under the aforementioned
Build & Run
tabs.
If this does not help, try setting these environment variables:
QT_SELECT=qt5
QTDIR=$QT5
where$QT5
is the path to your Qt5 installation.
from apk-icon-editor.
I will try compiling with QtCreator. Thanks.
from apk-icon-editor.
If you are manually using qmake
, see the section about environment variables in my previous message. Also, you may simply specify the absolute path to the needed qmake
version.
from apk-icon-editor.
Now I've another error:
core/keys.h:13:2: error: #error The following variables are dummies. Set your own values and/or remove this line.
#error The following variables are dummies. Set your own values and/or remove this line.
from apk-icon-editor.
That's not an error, that's just a security warning.
Those private constants are used for encrypting passwords.
As noted in the message,
Set your own values and/or remove this line.
So, simply remove that #error
line from the src/core/keys.h
file.
from apk-icon-editor.
After commenting the line, another error appears:
/usr/bin/ld: /opt/apk-icon-editor-1.6.0/src/../lib/bin/libquazip.a(unzip.o): undefined reference to symbol 'inflateInit2_'
//lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [../bin/linux/apk-icon-editor] Error 1
from apk-icon-editor.
Try one of the following:
- Add
LIBS += -lz
line to thesrc/apk-icon-editor.pro
. - Add
LIBS += -L<path>
to thesrc/apk-icon-editor.pro
. Note that<path>
should point to thelibz.so
library. I don't know where this library is located on your machine, that is why I cannot make further assumptions.
from apk-icon-editor.
Great! Now compiles in my Linux box!
I think you should fix this in the source code and add any text document explaining the possible issues and solutions.
Thanks!
from apk-icon-editor.
I'll see what I can do in order to ease the compilation pain on Linux.
Don't forget that you will also need third-party Android tools like aapt
, zipalign
, and signapk.jar
. I will add these files to the repo in the near future (one or two days), just wait a bit. You can track the progress in this issue.
Thank you for your cooperation!
from apk-icon-editor.
Thanks a lot!
from apk-icon-editor.
Related Issues (20)
- Apktool drops support for 32-bit HOT 2
- me da error al tratar de editar un apk que tiene versión 142 HOT 1
- Error when trying to edit Icon HOT 2
- Question about environment variables HOT 2
- Manually edited strings.xml gets overwritten HOT 3
- Compilation error when using 32-bit Java HOT 9
- Apktool error HOT 2
- Apktool error: exit code -1073741515 HOT 3
- Apktool error: exit code -1073741515 HOT 1
- Can't download binaries for installation. HOT 3
- Singed apk issue on iMac HOT 2
- Add macOS 10.15 Catalina support
- TvBanner on Magisk Manager HOT 5
- Unassociate APK file HOT 1
- Please help me with APK Icon Editor! HOT 4
- cant open already decompiled apk HOT 1
- Add apktool 2.6.1 support
- APKTOOL_DUPLICATENAME HOT 1
- APKTOOL ERROR HOT 1
- ant pack the apk HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apk-icon-editor.