Bug 657752 - QmlDesigner plugin is missing
Summary: QmlDesigner plugin is missing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt-creator
Version: 22
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Itamar Reis Peixoto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 657498
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-27 17:22 UTC by Rex Dieter
Modified: 2015-05-29 22:49 UTC (History)
12 users (show)

Fixed In Version:
Clone Of: 657498
Environment:
Last Closed: 2015-05-29 16:24:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix qtquickplugin installation for x86_64 builds (724 bytes, patch)
2010-11-30 13:17 UTC, Stefan Becker
no flags Details | Diff

Description Rex Dieter 2010-11-27 17:22:24 UTC
+++ This bug was initially created as a clone of Bug #657498 +++

Description of problem:

qt-creator is build without the QmlDesigner plugin. I guess this requires a SPEC update (from the build log):

Project WARNING: QmlDesigner plugin has been disabled.
Project WARNING: The plugin depends on private headers from QtDeclarative module.
Project WARNING: To enable it, pass 'QT_PRIVATE_HEADERS=$QTDIR/include' to qmake, where $QTDIR is the source directory of qt.

Version-Release number of selected component (if applicable):
qt-creator-2.1.0-2.beta2.fc14

--- Additional comment from chemobejk on 2010-11-26 04:57:48 EST ---

Minimum requirement would be a rebuild against qt-4.7.1.

It also checks for this file:

  $${QT_PRIVATE_HEADERS}/QtDeclarative/private/qdeclarativecontext_p.h

I haven't found this one yet in the qt-4.7.1 rpms, maybe they also need an update?

--- Additional comment from rdieter.edu on 2010-11-26 09:56:57 EST ---

for qt-4.7.1,
https://admin.fedoraproject.org/updates/qt-4.7.1-3.fc14

--- Additional comment from han.holl on 2010-11-26 15:43:40 EST ---


I installed the above mentioned upgrade, but the Design button in qt-creator
is still greyed out.
Double clicking on a .qml file does nothing.

I take it that these symptoms are a consequence of the bug of the original poster.

Neither did I find a qt-creator upgrade in upgrades testing

--- Additional comment from chemobejk on 2010-11-26 18:45:59 EST ---

qt-creator needs to be recompiled against qt-4.7.1. But that alone is not enough, it needs private Qt header files. The qmake configuration checks for (typed from my head, please check the .pro file in qt-creator):

      $QT_DIR/include/QmlDeclarative/qmldeclarativecontext_p.h

Those would need to be added to qt-devel in order to be able to compile the QmlDesigner plugin in qt-creator. It might make sense to put them into a separate RPM just for qt-creator build requirements, maybe qt-qmldeclarative-devel?

--- Additional comment from kevin.org on 2010-11-27 06:10:16 EST ---

More like qt-devel-private, to make it clear that those are not public APIs.

Comment 1 Stefan Becker 2010-11-30 13:17:52 UTC
Created attachment 463720 [details]
Fix qtquickplugin installation for x86_64 builds

libqtquickplugin.so wasn't installed for x86_64 builds and therefore the Library Items View in QmlDesigner was empty. This patch fixes the problem. I have forwarded it to the QtCreator guys, so it might be fixed in the next 2.1 RC/final version.

Please note that you also need to update the %files section in the SPEC and add this line:

%{_libdir}/qmldesigner

Comment 2 Axel Thimm 2011-05-10 06:42:04 UTC
qt-creator from f15 (2.2.0-0.1.beta) rebuilt on f14 seems to enable the plugin (it uses the private subpackage with the neccessary headers).

Could we have the f15 package officially rebuilt on f14? Thanks!
(or if the same changes apply to 2.1.0 and you prefer not to go beta on qtcreator o f14 please rebuild 2.1.0 with the plugin enabled)

Comment 3 Fedora End Of Life 2012-08-16 22:32:52 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Rex Dieter 2015-05-29 10:53:56 UTC
Reportedly (on irc) still a problem, re-opening

Comment 5 Rex Dieter 2015-05-29 16:24:56 UTC
Actually,

$ rpm -q qt-creator
qt-creator-3.4.0-3.fc22.x86_64

$ rpm -ql qt-creator | grep qmldesigner
/usr/lib64/qtcreator/plugins/qmldesigner
/usr/lib64/qtcreator/plugins/qmldesigner/libcomponentsplugin.so
/usr/lib64/qtcreator/plugins/qmldesigner/libqtquickplugin.so


I guess the irc report was inaccurate, closing.

Comment 6 argonel 2015-05-29 22:46:02 UTC
The file we're looking for is /usr/lib64/qtcreator/plugins/qmldesigner/libQmlDesigner.so.

On closer investigation its just F20 that has no qml designer plugin.

The qt-creator-3.2.2-4.fc20 build log says:

Project WARNING: QmlDesigner plugin has been disabled.
Project WARNING: This plugin requires Qt 5.3.1 or newer.

I assume this is a wontfix as F21 has qt-creator-3.4.0.

Comment 7 Kevin Kofler 2015-05-29 22:49:19 UTC
Yes, F20 is the last release to have Qt Creator built against Qt 4. I don't think changing it at this point makes sense. F21 has Qt Creator built against Qt 5, and so it includes that feature. Of course, so does F22, too. So CLOSED CURRENTRELEASE is the correct resolution.


Note You need to log in before you can comment on or make changes to this bug.