Giter Club home page Giter Club logo

Comments (12)

kefir500 avatar kefir500 commented on August 22, 2024

Hi, seems that you are using Qt4 instead of Qt5.

from apk-icon-editor.

monkiki avatar monkiki commented on August 22, 2024

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.

kefir500 avatar kefir500 commented on August 22, 2024

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.

monkiki avatar monkiki commented on August 22, 2024

I will try compiling with QtCreator. Thanks.

from apk-icon-editor.

kefir500 avatar kefir500 commented on August 22, 2024

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.

monkiki avatar monkiki commented on August 22, 2024

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.

kefir500 avatar kefir500 commented on August 22, 2024

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.

monkiki avatar monkiki commented on August 22, 2024

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.

kefir500 avatar kefir500 commented on August 22, 2024

Try one of the following:

  • Add LIBS += -lz line to the src/apk-icon-editor.pro.
  • Add LIBS += -L<path> to the src/apk-icon-editor.pro. Note that <path> should point to the libz.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.

monkiki avatar monkiki commented on August 22, 2024

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.

kefir500 avatar kefir500 commented on August 22, 2024

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.

monkiki avatar monkiki commented on August 22, 2024

Thanks a lot!

from apk-icon-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.