Font rendering problems with QT applications in Xubuntu
195
You need to install qt4-qtconfig
to be able to change qt applications style and fonts. I just set it to emulate the gtk engine. I never had issues at least in Gnome.
sudo apt-get install qt4-qtconfig
To enable this style, use:
Qt Configuration: choose "GTK+" under Appearance > GUI Style.
The command-line: edit the ~/.config/Trolltech.conf file by adding:
~/.config/Trolltech.conf
...
[Qt]
style=GTK+
...
Source: https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications
Related videos on Youtube
Author by
Meena Narayanan
Updated on September 18, 2022Comments
-
Meena Narayanan over 1 year
I am using Retrofit concept, I need to pass the list value to activity. Here I attached the code where I get the response from backend.
private void callCheckTopCourseDetails(String getId) { APIInterface apiInterface = APIClient.getClient().create(APIInterface.class); Call<Example> call2 = apiInterface.doGetWishlist(getId); call2.enqueue(new Callback<Example>() { @Override public void onResponse(Call<Example> call, Response<Example> response) { if (response.code() == RESPONSECODE_200 || response.code() == RESPONSECODE_201) { List<RatingsDetail> getRatingDetails = response.body().getAndroid().getRatingsDetails(); List<CourseDetail> getCourseDetail = response.body().getAndroid().getCoursedetails(); } } @Override public void onFailure(Call<Example> call, Throwable t) { Log.i("ttttttttt", "" + t); call.cancel(); } }); }
-
ilyuha21st over 9 yearsI found solution for version 14.04, but it seem works on ubuntu 13.04 version too: askubuntu.com/questions/285862/…
-
FluffyKitten over 6 yearsWhat have you tried yourself to do this? Please review How do I ask a good question. Stack Overflow is not a coding service. You are expected to research your issue and make a good attempt to write the code yourself before posting. If you get stuck on something specific, come back and include a clear outline of the exact issue and a summary of what you tried.
-
Meena Narayanan over 6 yearsBundle bundle = new Bundle(); bundle.putString("RatingDetails", String.valueOf(getRatingDetails)); Intent intent = new Intent(context, CourseDetailActivity.class); intent.putExtras(bundle); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); context.startActivity(intent); i am tried like this
-
-
DK Bose over 9 yearsDo either of these fixes, installing qt4-config or editing Trolltech.conf, work with
qt5
apps? -
tanius almost 5 years@DKBose For Qt5 applications, you would use
qt5ct
: install withsudo apt install qt5ct
, start withQT_QPA_PLATFORMTHEME=qt5ct qt5ct
.