I use "" instead of "styleName()" and everything seems to be ok. What
about use conditional define with QT version?
However I vote for update to 4.8.0
On 7 August 2014 20:13, Christopher Maynard
<Christopher.Maynard@xxxxxxxxx> wrote:
> configure.ac lists QT_MIN_VERSION as 4.6.0.
>
> Attempting to compile 1.12.0 on RHEL6 with qt-4.6.2-24.el6.x86_64 fails with:
>
> qt_ui_utils.cpp: In function 'void smooth_font_size(QFont&)':
> qt_ui_utils.cpp:58: error: 'class QFont' has no member named 'styleName'
>
> Apparently styleName isn't available until 4.8.0.
>
> https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;
> h=8afb6106f2fb565aff0ec9f00b3dcf7217ed5255
>
> Ideas as to how best to fix these ... besides setting QT_MIN_VERSION to 4.8.0?
>
>
>
> ___________________________________________________________________________
> Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives: http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
--
Pozdrawiam / Best regards
-------------------------------------------------------------------------------------------------------------
Michał Łabędzki, Software Engineer
Tieto Corporation
Product Development Services
http://www.tieto.com / http://www.tieto.pl
---
ASCII: Michal Labedzki
location: Swobodna 1 Street, 50-088 Wrocław, Poland
room: 5.01 (desk next to 5.08)
---
Please note: The information contained in this message may be legally
privileged and confidential and protected from disclosure. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorised use, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to
the message and deleting it from your computer. Thank You.
---
Please consider the environment before printing this e-mail.
---
Tieto Poland spółka z ograniczoną odpowiedzialnością z siedzibą w
Szczecinie, ul. Malczewskiego 26. Zarejestrowana w Sądzie Rejonowym
Szczecin-Centrum w Szczecinie, XIII Wydział Gospodarczy Krajowego
Rejestru Sądowego pod numerem 0000124858. NIP: 8542085557. REGON:
812023656. Kapitał zakładowy: 4 271500 PLN