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

pakage a simple qtwidgets on centos7, but it can't run on manjaro #571

Open
xspeed1989 opened this issue Apr 2, 2023 · 8 comments
Open

Comments

@xspeed1989
Copy link

Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "archreq": 0,
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/platforms" ...
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/platforms/libqxcb.so"
loaded library "Xcursor"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/platformthemes" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/platformthemes" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "archreq": 0,
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("compose", "xim")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "archreq": 0,
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("ibus")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "qtvirtualkeyboard"
        ]
    },
    "archreq": 0,
    "className": "QVirtualKeyboardPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("qtvirtualkeyboard")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/platforminputcontexts" ...
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/xcbglintegrations" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/xcbglintegrations/libqxcb-egl-integration.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_egl"
        ]
    },
    "archreq": 0,
    "className": "QXcbEglIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("xcb_egl")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/xcbglintegrations/libqxcb-glx-integration.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_glx"
        ]
    },
    "archreq": 0,
    "className": "QXcbGlxIntegrationPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("xcb_glx")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/xcbglintegrations" ...
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/xcbglintegrations/libqxcb-glx-integration.so"
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/styles" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/accessible" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/accessible" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/iconengines" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/iconengines/libqsvgicon.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/iconengines/libqsvgicon.so, metadata=
{
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz",
            "svg.gz"
        ]
    },
    "archreq": 0,
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("svg", "svgz", "svg.gz")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/iconengines" ...
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/plugins/imageformats" ...
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqgif.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqgif.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "gif"
        ],
        "MimeTypes": [
            "image/gif"
        ]
    },
    "archreq": 0,
    "className": "QGifPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("gif")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqicns.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqicns.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "icns"
        ],
        "MimeTypes": [
            "image/x-icns"
        ]
    },
    "archreq": 0,
    "className": "QICNSPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("icns")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqico.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqico.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "ico",
            "cur"
        ],
        "MimeTypes": [
            "image/vnd.microsoft.icon",
            "image/vnd.microsoft.icon"
        ]
    },
    "archreq": 0,
    "className": "QICOPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("ico", "cur")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqjpeg.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqjpeg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "jpg",
            "jpeg"
        ],
        "MimeTypes": [
            "image/jpeg",
            "image/jpeg"
        ]
    },
    "archreq": 0,
    "className": "QJpegPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("jpg", "jpeg")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqpdf.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqpdf.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "pdf"
        ],
        "MimeTypes": [
            "application/pdf"
        ]
    },
    "archreq": 0,
    "className": "QPdfPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("pdf")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqsvg.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqsvg.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "svg",
            "svgz"
        ],
        "MimeTypes": [
            "image/svg+xml",
            "image/svg+xml-compressed"
        ]
    },
    "archreq": 0,
    "className": "QSvgPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("svg", "svgz")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqtga.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqtga.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tga"
        ],
        "MimeTypes": [
            "image/x-tga"
        ]
    },
    "archreq": 0,
    "className": "QTgaPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("tga")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqtiff.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqtiff.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "tiff",
            "tif"
        ],
        "MimeTypes": [
            "image/tiff",
            "image/tiff"
        ]
    },
    "archreq": 0,
    "className": "QTiffPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("tiff", "tif")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqwbmp.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqwbmp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "wbmp"
        ],
        "MimeTypes": [
            "image/vnd.wap.wbmp"
        ]
    },
    "archreq": 0,
    "className": "QWbmpPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("wbmp")
QFactoryLoader::QFactoryLoader() looking at "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqwebp.so"
Found metadata in lib /tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqwebp.so, metadata=
{
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
        "Keys": [
            "webp"
        ],
        "MimeTypes": [
            "image/webp"
        ]
    },
    "archreq": 0,
    "className": "QWebpPlugin",
    "debug": false,
    "version": 331520
}


Got keys from plugin meta data ("webp")
QFactoryLoader::QFactoryLoader() checking directory path "/tmp/.mount_ApplicKUfzf8/imageformats" ...
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqgif.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqicns.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqico.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqjpeg.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqpdf.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqsvg.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqtga.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqtiff.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqwbmp.so"
loaded library "/tmp/.mount_ApplicKUfzf8/plugins/imageformats/libqwebp.so"
@probonopd
Copy link
Owner

Hi @xspeed1989, I can't see an error in what you posted. Is the AppImage available for testing?

@xspeed1989
Copy link
Author

Hi @xspeed1989, I can't see an error in what you posted. Is the AppImage available for testing?

Yes, look at the log, but there is no ui

@probonopd
AppImage is here:
https://drive.google.com/file/d/1-k2nuEBAiIljJacNG7a75n01O0O4CieG/view?usp=sharing

@xspeed1989
Copy link
Author

If it works, it looks like this
image

@probonopd
Copy link
Owner

probonopd commented Apr 2, 2023

When I run this on helloSystem, I see

[18622:119365:0402/214709.489159:ERROR:nss_util.cc(166)] Error initializing NSS with a persistent database (sql:/home/user/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory

May be related to #35.

Out of curiosity, have you tried making the AppImage on Ubuntu LTS rather than CentOS, and did it result in the same issue?

@xspeed1989
Copy link
Author

xspeed1989 commented Apr 3, 2023

When I run this on helloSystem, I see

[18622:119365:0402/214709.489159:ERROR:nss_util.cc(166)] Error initializing NSS with a persistent database (sql:/home/user/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory

May be related to #35.

Out of curiosity, have you tried making the AppImage on Ubuntu LTS rather than CentOS, and did it result in the same issue?

@probonopd
I don't see this log on Manjaro,Did you set some env?
I Will install ubuntu 14.04 and test it, but it will spend much time,because I must compile Qt5.15.8 and gcc newer than 4.8

@probonopd
Copy link
Owner

No, I didn't set anything special, just ran it from the command line.

@xspeed1989
Copy link
Author

This issue isn't same as #35 ,

I pack a app on ubuntu 18.04 that contain nss libray, then I test it on Kali Linux and Manjaro Linux, MainWindow is create successfully, but webengine widget dose not visible and qt doesn't report any error

test result:
Centos 8 => OK
Manjaro => Not OK
Kali => Not OK

@probonopd
Copy link
Owner

Thanks for testing @xspeed1989. I think one would need to dig deeper into nss to see what is going on. Unfortunately I don't know, sorry.

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

No branches or pull requests

2 participants