I have an gtk application. I can run it when I switch to Gnome desktop on my Arch Linux. But when I use KDE, I got the following error when trying to run program and it crashs automatically:
Gtk-CRITICAL **: 10:26:23.068: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
What can be cause of it?
Related
I started to get acquainted with c ++ and there was a problem. I can’t understand how I can compile and test. I installed the compiler in vm Linux and configured the clion on a remote host. I connected the gtk to develop the interface and when I compile I get this 1.
How can i run it? If i am do this from clion getting this error
Gtk-WARNING **: 12:53:54.419: cannot open display: :0, so i need run it in windows without install something. Help me pls.
cmakelist.txt
I'm trying to run a Qt project on mac and have an iOS build, however, it doesn't build due to "errors" in qt header files such qchar.h and qbasicatomic.h
Mac specs:
Qt Creator 4.5.0 (based on Qt Qt 5.10.0 Clang 7.0 64 bit)
macOS High Sierra (10.13.6)
Xcode (Version 9.4.1)
I've tried adding CONFIG+= c++11, bu that doesn't help.
Here is the compile issue:
** BUILD FAILED **
The following build commands failed:
ProcessPCH SharedPrecompiledHeaders/precompile-egfdquqtyvgpwccxaewehzkwxdsd/precompile.h.pch ../trunk/precompile.h normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make: *** [xcodebuild-debug-simulator] Error 65
10:18:05: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project SerialSuite (kit: Qt 5.10.0 for iOS Simulator)
When executing step "Make"
I've made a C++ project in Qt. My app shows short video using QMediaPlayer and QVideoWidget.
Everything works fine when I compile it in Qt. I'm a Linux user. The problems starts when I try to cross compile it in MXE.
I have got an error:
Project MESSAGE: Warning: unknown QT: multimediawidgets
and
main.cpp:12:24: fatal error: QMediaPlayer: No such file or directory
compilation terminated.
Makefile.Release:132: recipe for target 'release/main.o' failed
I've add
QT += core gui multimedia multimediawidgets
in my .pro file.
I have noticed that there is no QMultimediaWidget in MXE package
list.
Is there any solution to fix this problem ?
I download Qt version 5.7.0 with offline installer.I try to run a simple hello World program but it dosen't work and Qt gives this error:
Configuration is faulty. Check the Issues view for details.
Error while building/deploying project prova (kit: Desktop Qt 5.7.0 MSVC2015_64bit)
When executing step "Make".
I'm programming in c++.
I download the compiler minGW cause it was missing.Nothing change.I tried to download all the package of minGW but I don't know hot to set up the compiler and how to eliminate this error.I need to use QT for Univeristy.Can someone help me?Thanks you all.Waiting for your reply see you!
I just switched from mac to pc and I have to instaled Eclipse for my C++ programing and compiling. I have also instaled Cygwin64 and added the path and things like that. according to the internet it should work now but I get this error:
Problem Occured 'Launching test Debug' has encountered a problem. Error starting process.
In this message 'test' is the name of the class I try to run. Before running I ofcourse Build my project so that is not the problem.
Acording to eclipse there is also an error in the debug map in the makefile file on line 44: #echo 'Building target: $#' (this is what the message says)
My operating system is windows 8 64 bit.
Thanks for reading