Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qsc: Add Linux support #2

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

OatmealDome
Copy link

Part of my efforts to get Dolphin running under the Steam Runtime. I used this tool to create a set of Qt 5 shared libraries.

Instead of downloading the zip, I changed it to download the tar.xz so that Unix permissions like +x stay intact (versus the zip which strips those). I think this should be fine on Windows too.

@@ -0,0 +1,29 @@
#!/bin/bash

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this have execute permissions set?


zip_path = os.path.join("archives", name+".zip")
tar_path = os.path.join("archives", name+".tar.xz")

print("Extracting...", end="", flush=True)

if qsc.USE_CACHE and os.path.isdir(name):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When extracted the directory within the archive is still qt-everywhere-src not qt-everywhere-opensource-src.

Suggested change
if qsc.USE_CACHE and os.path.isdir(name):
if qsc.USE_CACHE and os.path.isdir("qt-everywhere-src-{}".format(release)):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants