Results 1 to 2 of 2

Thread: QScrollBar having difference between compiling for Desktop or for Embedded Linux

  1. #1
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Thanks
    165
    Thanked 2 Times in 2 Posts
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default QScrollBar having difference between compiling for Desktop or for Embedded Linux

    Hello!

    I'm trying to resize the QScrollBar of a QComboBox in a way that works with Embedded Linux. I did managed to get it working with style sheets for Linux Ubuntu (using the help provided in this SO question), but it fails in Embedded Linux. More details of the problem may be read on this link.

    So my question is: how may I properly resize the width of the QScrollBar off a QComboBox for Qt 4.8.5 for Embedded Linux? Using a simple solution (one that avoids creating QStyles, for example) would be welcomed. And, of course, why do the solutions mentioned in the first link works for Ubuntu but not for Embedded Linux using the same version of Qt library?
    Last edited by Momergil; 6th October 2014 at 16:05.
    May the Lord be with you. Always.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QScrollBar having difference between compiling for Desktop or for Embedded Linux

    Why exactly do you want to resize it? Isn't it better to adjust the application's "global strut"?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. difference between source in Qt for X11/Linux Qt for Embedded Linux
    By sanjeet in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 7th June 2011, 03:58
  2. errors with compiling qt-embedded-linux-opensource-4.4.3
    By dycjiaoda in forum Installation and Deployment
    Replies: 4
    Last Post: 17th April 2009, 16:56
  3. qt-embedded-linux 4.4.3 compiling error
    By numen in forum Installation and Deployment
    Replies: 2
    Last Post: 6th March 2009, 17:32
  4. Compiling Problem qt/embedded 4.4.1 linux scratchbox arm
    By hw in forum Installation and Deployment
    Replies: 0
    Last Post: 11th September 2008, 20:25
  5. Compiling qt-embedded-3.3.5 with sh4-linux-gcc
    By hketatni in forum Installation and Deployment
    Replies: 3
    Last Post: 15th December 2006, 15:21

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.