I download the app wifimouse for windows.
wifimouse app fully build with qt.
Source code of wifimouse server application
I install and run wifimouse app in my computer it works perfectly and all the options are works smoothly.
But, If I run the same code in my computer it not works properly.
For example ; In wifimouse application there is an option for brightness controling
Brightness code
error comes like this. But , it works smoothly in downloaded installer from here
Problem with qt in getting outputs.
My project
I want to get the cpu usage , ram usage ,process list and app list with qt.
In Windows
I am getting ram usage from this code.
But app list , cpu usage and process outputs are not showed.
In linux
In linux the cpu usage output not showed.
In Mac
In mac the app list output not showed.
Why this problem occured ?
Related
I built a simulation code using OpenGL X11 GLUT GLEW and bullet-physics on Linux. The code and the visuals run really nicely on a pure Linux environment.
Now, I built the code on a windows machine using an Ubuntu terminal (downloaded from Microsoft Store). When I run the code, I get a cannot connect to X server message
After some reading, I found (and learned) that on Windows you could install Xming as the visualization server, while exporting DISPLAY=localhost:0 on the Linux side. After doing this, I get the message: No appropriate visual found
How can I solve this? I tried what this question mentions: How can I run an OpenGL application installed on a linux machine from my windows machine?, but on the Putty section I got lost. If somebody could list some specific steps, I would highly appreciate it.
Windows does not have a X server nor client. You have several options:
Install a X server and client for Windows.
Run the program on Linux and connect to it via a X client for Windows.
Replace the X11 code with Windows code.
Use a library that abstracts you from details such as SDL.
I tried to build ios version of my ionic application which I build using Visual Studio 2017, but it seems it never can "install" to the simulator. The simulator is launched on the mac computer, but the application is not running, even I cannot find the icon in the simulator.
I suspect that it because the wrong naming of the target device.
I notice there is /cordova/build/.../emulate?target=iPhone+5 404 line on the mac's terminal, while when I try to the list the available target, it should be target=iPhone-5.
I'm a newbie in ionic and I don't know if it is the cause of problem that make the application is not shown at the emulator.
If it is not the problem, is there anybody can help me to find out what is the cause so the application cannot be debugged (not shown in the emulator)?
If it is the cause of the problem, then how can I change the command send from visual studio to the mac computer?
Thanks in advance for the help.
We are developing a software using QT creator. The software is meant to run on windows and on an ARM mini-computer running Debian. To test the software on the mini-computer, we logged in on the mini computer using ssh and an exported display. Some programs like Inkscape run fine, but we can't get to run QT Creator. It always displays the following errors:
No tool chain set from kit "Desktop".
No tool chain set from kit "Desktop".
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Cant find EGLConfig, returning null config
Unable to find an X11 visual which matches EGL config 0
Could not initialize OpenGL
We also tried to log in from another x86 linux computer, but this created the same errors. Thus we suppose that the problems are linked to the architecture. Does anybody know how to solve this issue?
EDIT: We just tried to access QT creator from another ARM Debian mini-computer and it also fails. Thus it does not seem to be related to the architecture as we first suspected.
(We could of course do cross compiling and remote debugging, but we try to avoid this)
Try loading qtcreator without the Welcome addon:
qtcreator -noload Welcome
The Welcome addon uses OpenGL which probably isn't supported by X forwarding.
I am using QT,ITK,VTK and build theses libraries in X64.
I am developing an application in X64 using VisualStudio2008 .
This application loading the Image data and also provide around 10 buttons for different functionality when I am running it into debug/Release mode from Visual Studio it works fine, But If I run it from Folder or after making setup by clicking on exe it run fine with all the the features except one that is crashing in mid of the process and it is very random crash .
sometime it crash, sometimes not with the same data and if crash then also not in specific location sometime at
VTKImageData->DeepCopy(data),
ITKConnectorType::Pointer ItkConnector= ITKConnectorType::New();
after displaying QT widget on mainwindow.
But all the other widget functionality are working fine.
Please Help me. Thanks in advance.
So I've been making a program for my company using Qt 4.8.4 (required). When deploying the project to a different machine, the program runs fine (I included Qtgui4.dll and Qtcore4.dll). However, when trying to view a print preview image using QGraphicsView, no other machine will show it. I even tried installing Qt 4.8.4 on the other machine and building it there to no avail. I use MSVC to compile and have installed Visual Studio on the new machine as well. I also include the imageformats folder when deploying the .exe to other machines.
I am at a loss here. I've researched this for days. I don't understand why it runs perfectly fine on my machine but will not run on others even when I replicate the development environment.
I have attached a picture of it actually working.
On all other machines, the preview image shows blank/white. However, I noticed that the image is built and that it will print. It just will not preview.
I know I haven't included any code but I won't be able to include much as it's for my company. But I have included what I could related to the QGraphicsView.
// Create a handle for the graphics view; fix bug where preview would disappear
// on first view; winId() creates the winId; Needed to initialize first
ui->graphicsView->winId();
/************************************/
if (preview)
preview(ui->graphicsView->winId(), &err);
No solution was found on my end. I finished the application with the stipulation that the OS could not be XP.