Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Build error with Qt Creator from overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
clavko
n00b
n00b


Joined: 02 Aug 2008
Posts: 25

PostPosted: Mon Jul 14, 2014 3:41 pm    Post subject: Build error with Qt Creator from overlay Reply with quote

I'm getting a strange build error when trying to build qt-creator-9999 from qt5 overlay:

Code:
stylehelper.cpp: In static member function ‘static QPixmap Utils::StyleHelper::dpiSpecificPixmap(const QString&)’:
stylehelper.cpp:547:15: error: ‘class QApplication’ has no member named ‘devicePixelRatio’
stylehelper.cpp:550:64: error: ‘QStringLiteral’ was not declared in this scope
stylehelper.cpp:558:12: error: ‘class QPixmap’ has no member named ‘setDevicePixelRatio’


Do you have any idea? Thanks.
Back to top
View user's profile Send private message
Chiitoo
l33t
l33t


Joined: 28 Feb 2010
Posts: 875
Location: Here and Away Again

PostPosted: Fri Jul 18, 2014 11:15 pm    Post subject: ><)))°€ Reply with quote

Teegrins, clavko!


I did some bisecting, and indeed, there seem to be changes that break it for me too.

These are the findings, though they probably wont exactly help much...


The last revision to build is this:

https://qt.gitorious.org/qt-creator/qt-creator/commit/67a7696e60a90fd1669738e368fd8a3d51efce0e

After the next commit, the build fails:

https://qt.gitorious.org/qt-creator/qt-creator/commit/98a88b0b845dff64b6b68a4dc1e84ca0673a67e0

It doesn't exactly seem to be related to the error message, however, while this one looks like it could:

https://qt.gitorious.org/qt-creator/qt-creator/commit/84e24c2a847a60b1ec697985a0efd82e7bb9820b

Simply reverting that wont work, however...
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7835
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Jul 20, 2014 5:24 pm    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software. Out of tree so it fits better here.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
clavko
n00b
n00b


Joined: 02 Aug 2008
Posts: 25

PostPosted: Wed Jul 23, 2014 9:12 am    Post subject: Reply with quote

Yeah, I know it's unsupported :) But I wouldn't even be using overlay if Qt5 was
in the portage tree, as I think it should be. Qt 5 has been released in 2012.
Qt Creator 2.8.1 (current tree) has been released in 2013... The state of Qt
in Gentoo is... well... not quite good. I know it's all about people and resources.

I don't know, maybe it's just me, but shouldn't a framework like Qt be on a distro
top priority, along with some basic stuff like kernel, gcc, clang, GTK+, Xorg...?
Arch is on Qt5 default. When this kind of packages begin to slip in version numbers,
the distro goes the way of dodo, don't you think? :D
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2698
Location: The Peanut Gallery

PostPosted: Thu Jul 24, 2014 4:47 pm    Post subject: Reply with quote

clavko wrote:
Yeah, I know it's unsupported :) But I wouldn't even be using overlay if Qt5 was
in the portage tree, as I think it should be. Qt 5 has been released in 2012.
Qt Creator 2.8.1 (current tree) has been released in 2013... The state of Qt
in Gentoo is... well... not quite good. I know it's all about people and resources.

I don't know, maybe it's just me, but shouldn't a framework like Qt be on a distro
top priority, along with some basic stuff like kernel, gcc, clang, GTK+, Xorg...?
Arch is on Qt5 default. When this kind of packages begin to slip in version numbers,
the distro goes the way of dodo, don't you think? :D

Well the way round it is to do a Qt5-stable or Qt5-QA overlay based on your install, with the explicit goal of getting ebuilds into the tree.

Development overlays for frameworks tend to move fast, since their main goal is to support people working with the upstream from vcs, and require another layer of bug-wrangling from end-users, imo.

I'd help, as I find that surprising, and I was wondering how I'd go about playing with KF from git (which I need to if I want to work with kate from git.) So I have an incentive to make it work too; not sure how many other people are interested.
Back to top
View user's profile Send private message
clavko
n00b
n00b


Joined: 02 Aug 2008
Posts: 25

PostPosted: Sat Jul 26, 2014 1:08 pm    Post subject: Reply with quote

Yeah... guess no one knows what's up with this one. I guess i should file
a bug report, but I already tried that once - it went unconfirmed and stayed
that way for almost a year now. It's sad, actually :wink:
Thanks anyway!
Back to top
View user's profile Send private message
mir3x
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2012
Posts: 138

PostPosted: Sun Jul 27, 2014 1:58 pm    Post subject: Reply with quote

Code:
stylehelper.cpp: In static member function ‘static QPixmap Utils::StyleHelper::dpiSpecificPixmap(const QString&)’:
stylehelper.cpp:547:15: error: ‘class QApplication’ has no member named ‘devicePixelRatio’
stylehelper.cpp:550:64: error: ‘QStringLiteral’ was not declared in this scope
stylehelper.cpp:558:12: error: ‘class QPixmap’ has no member named ‘setDevicePixelRatio’


You just need qtcore 5.3.999 or 5.9999 and qtgui also ... and maybe more :(
_________________
Installation aborted to prevent system self-destruction
Back to top
View user's profile Send private message
steveL
Advocate
Advocate


Joined: 13 Sep 2006
Posts: 2698
Location: The Peanut Gallery

PostPosted: Sun Jul 27, 2014 3:54 pm    Post subject: Reply with quote

Looks like a missing header, mir3x. Though it's not very inspiring in terms of confidence that I should be installing this stuff ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum