how to run qt program in another computer that has qt installed (linux)? - linux

I already finished my program in QT and I have the release file with everything it needs, but when I transfer all to another computer it says "can't find an application to run this". The other computer has the same version of QT installed which is 5.

Are the two computers running the same Linux distribution? You could try copying over the source and project files, then recompiling on the second computer. If it doesn't work, that means the hardware or Linux distro isn't supported, which would be your original problem.

Related

Built in keyboard not working on virtualbox

I'm trying to run macOS on my windows 10 laptop. But everytime I boot my system it tries to find a startup.nsh file, I know how to create a .nsh file its just that my virtual box is not letting me type at all. I even tried to use the soft "virtual" keyboard but still nothing. Does anyone have a fix?
Making a macOS VM on windows is not simple as any other operating systems, there is many tutorials for that like :https://www.makeuseof.com/tag/macos-windows-10-virtual-machine/
This is because apple makes it's software only for it's products and isn't made to be compatible for other devices out of the box.

How to configure Mabinogi to run in Lutris?

I'm attempting to play Mabinogi by Nexon on Linux Mint 20 (Ulyana) using Lutris. I've previously used Lutris to play Heroes of the Storm but otherwise don't have much experience with it (or with gaming on Linux, in general). There's no installer on the Lutris website for Mabinogi like there was for Heroes of the Storm, so I was on my own to try and figure everything out.
What I've tried
I started by downloading the Nexon Launcher Installer from their website. I configured Lutris to launch this executable using Wine within a simulated Windows environment. When it first launched I noticed several files were created ("drive_c", "Program Files", "Users", etc -- mimicking a Windows file system). The launcher installer ran without issue and I installed the launcher to "C:\Program Files (x86)\Nexon"
I then re-configured Lutris to try and launch the Nexon Launcher instead of the Nexon Launcher Installer. When I hit "Play" in Lutris, nothing happened. Running ps -ax | grep "Nexon" showed that it was theoretically running, but there was no window or visible UI even after several minutes of waiting. I checked the Lutris logs and noticed a message about a file missing (something like "10000.manifest.hash"). I Google'd this error and found plenty of people in Windows who had trouble running the Nexon Launcher with the same error, and the solution was to just install Mabinogi through Steam.
So next I downloaded the "Wine Steam" runner in Lutris and set this as the runner for Mabinogi, plugging in the app ID (212200). After Steam installed, launched, logged in, and downloaded Mabinogi I tried to launch the game. This time I saw a window pop up saying "Mabinogi is launching" and in the bottom-right the Nexon Game Security icon popped up, but then everything closed and the game never started.
Finally out of desperation I tried setting up a virtual computer using VirtualBox to play the game in its native Windows environment. I installed Windows 7 (the minimum required version according to the Nexon website). I downloaded Mabinogi through Steam on the virtual box. Upon trying to launch Mabinogi, I received the error error: "api-ms-win-crt-runtime-l1-1-0.dll is missing". I'm curious if this error is related to why I couldn't get Mabinogi working in Lutris.
Looking at a game that I had previously played in Lutris (Heroes of the Storm), I noticed a very similar DLL was listed in the "DLL overrides" section: "api-ms-win-crt-private-l1-1-0.dll". So I tried adding the runtime DLL to the overrides in Mabinogi with the same value ("n,b") - but this didn't work.
Looking at the Lutris logs when I try to launch Mabinogi through Wine Steam, there are several errors from \main\game-launch.js:109. I'm not sure if this JS script is part of Lutris of part of the Nexon Launcher, but it could provide some hints. Among the logs the following lines stand out as potentially meaningful:
...
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
...
fixme:d3d12_get_vk_physical_device: Could not find Vulkan physical device for DXGI adapter.
fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
...
warn: OpenVR: Failed to locate module
...
What I don't know
I'm not familiar with using Wine and I've never written a Lutris installer. Up until now I've only ever run Linux binaries on Linux and Windows binaries on Windows. So there's a lot I don't understand, like: What's Vulkan? What's DXVK? How do "override DLLs" work? Do I need to provide alternative DLLs for anything I want to override? What does the value "n,b" mean in the DLL override?
I'm welcome to any help
After a lot of work and research, I've gotten as far as I can and figured out where the major road block lies. The simple answer is: You cannot run Mabinogi in Lutris
Mabinogi uses an anti-cheat system that runs in kernel mode (ring 0). Wine runs in user mode (ring 3) and therefore cannot run this anti-cheat program.
The only solution is to play Mabinogi within a virtual machine (e.g. VirtualBox), since VMs run on a hypervisor (which from my understanding is kind of like a "negative" ring number, but effectively ring 0)
If you want to try some other Nexon games, I got the Nexon Launcher working in Lutris / Wine fairly easily. The trick was to download the latest Nexon Launcher since the older one (linked on the Mabinogi website) isn't sending a valid request to download the manifest file so it gets a 403. The latest launcher can be downloaded here: https://games.nexon.net/nexonlauncher

Can't figure out how to run an Electron Linux build

I have a game that I've built with Javascript and I'm using Electron 5.06 to package it. Both the mac and windows builds work without any issues. I need it to run as an arcade machine for an exhibit, so I wanted to build a Linux machine to run it off of. I installed Mint 19.1 and built the Linux release, but I can't figure out how to run it. When I click on what should be the executable, it says:
"The file "game" has no known programs associated with it. Use the Open With dialog to pick a program to open it with."
I've been searching but I can't seem to find a way to run it. Has anyone come across this before?
Thanks

Is there any way in python to know all installed application with version in my system (Windows & Linux both)?

i wanna make a script that will tell all installed application on system it can be Linux and windows both. anybody got any lead about it? need help!
I'm not too familiar with Windows, but with Linux you could:
get the installed packages list from the package manager, but it would not find applications installed outside the package manager
get the list of *.desktop files installed. This would get all applications which have a desktop icon. It would however still not guarantee that you have everything. I would suggest reading the Desktop Entry Specification for more information.

how to get a card reader name on command line

I am writing code to communicate with a smart card on Windows 7. The sample code that accompanies the card is developed on the linux environment. I have installed Mingw and Msys the Linux minimal system.
The correct command to get the reader name on the linux environment is pcsc_scan. But using this command is neither recognised by the Msys command prompt nor the Windows console.
I know that Winscard can be used to list all readers. But is there a way to get the pcsc_scan command to work on Windows. Or is there a command for that on the Windows environment? I will appreciate your help.
From the Ubuntu man page for pcsc_scan:
pcsc_scan is a program that regularly scans every PC/SC
readers
connected to the host
Key idea: pcsc_scan is a program and is compiled for linux and will therefore not run on Windows. (It's also either not a part of Mingw or Msys min or your path is incorrect. To double check, run a disk search for a file named pcsc_scan.)
If you can't locate pcsc_scan in Mingw or Msys then you will need either an equivalent of pcsc_scan for Windows or some other utility like this Java Smart Card Explorer which happens to actually be cross-platform.
Maybe the package pcsc-sdkxxx can give you some information.
Look at www.springcard.com/en/download/sdks
In the package the program pcscmon have a similar functionality.

Resources