Bug 1541807 - Design mode not available for *.ui.qml files
Summary: Design mode not available for *.ui.qml files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt-creator
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Itamar Reis Peixoto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-04 22:10 UTC by David Demelier
Modified: 2018-03-06 17:27 UTC (History)
6 users (show)

Fixed In Version: qt-creator-4.5.1-1.fc27 qt-creator-4.5.1-1.fc26
Clone Of:
Environment:
Last Closed: 2018-02-27 17:18:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
qt creator screenshot (245.24 KB, image/png)
2018-02-04 22:10 UTC, David Demelier
no flags Details
patch (1.71 KB, patch)
2018-02-05 10:23 UTC, David Demelier
no flags Details | Diff

Description David Demelier 2018-02-04 22:10:59 UTC
Created attachment 1391232 [details]
qt creator screenshot

Description of problem:

When editing *.ui and *.ui.qml files, Qt Creator offers a designer mode (available on left click or ctrl + 3 shortcut). It currently only works for traditional *.ui files not Qt Quick ones in *.ui.qml.

Version-Release number of selected component (if applicable):

Qt Creator 4.5.0.

How reproducible:

Always.

Steps to Reproduce:

1. Create a Qt Quick application
2. Open a ui.qml file

Actual results:

Design mode is greyed out.

Expected results:

Design mode should be available as well as standard Qt Widgets ui forms.

Additional info:

I have installed qt5, qt5-devel and qt5-qtdeclarative-devel packages.

Comment 1 Sandro Mani 2018-02-04 22:18:35 UTC
Yeah looks like a BuildRequirs on qt5-qtquickcontrols is missing. Working on it.

Comment 2 David Demelier 2018-02-05 10:23:23 UTC
Hello,

The attached patch seems to fix the issue.

Comment 3 David Demelier 2018-02-05 10:23:53 UTC
Created attachment 1391417 [details]
patch

Comment 4 Sandro Mani 2018-02-05 10:24:37 UTC
Yes thanks, I've already submitted a test build with that identical patch: https://koji.fedoraproject.org/koji/taskinfo?taskID=24725835

Comment 5 David Demelier 2018-02-05 11:58:15 UTC
Awesome, thanks for the usual extremely quick support from redhat! :)

Comment 6 Fedora Update System 2018-02-05 17:51:14 UTC
qt-creator-4.5.0-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-4b6b17eba6

Comment 7 Fedora Update System 2018-02-05 17:51:23 UTC
qt-creator-4.5.0-4.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-465c5c26a0

Comment 8 Rex Dieter 2018-02-05 17:54:56 UTC
FYI, there are already qt-creator updates in -testing as part of Qt 5.9.4,
f27: https://bodhi.fedoraproject.org/updates/FEDORA-2018-3c21305b93
f26: https://bodhi.fedoraproject.org/updates/FEDORA-2018-40497e6b72

f27 one is queue'd for batched updates, but neither is available yet to default koji buildroots.  The newer Qt is only available in custom buildroots, f27-kde f26-kde respectively.  You'll want to rebuild what's been submitted here against those.

Comment 9 Sandro Mani 2018-02-05 17:56:10 UTC
Uh bummer, ok I'll unpush the update, thanks for the heads up!

Comment 10 Sandro Mani 2018-02-05 19:59:42 UTC
So do I actually need a buildroot-override or how can I build against f2X-kde? Something like

$ koji build f27-kde <git repo>

instead of fedpkg build?

Comment 11 Fedora Update System 2018-02-13 16:42:28 UTC
qt-creator-4.5.1-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c7344af686

Comment 12 Fedora Update System 2018-02-14 18:26:55 UTC
qt-creator-4.5.1-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c7344af686

Comment 13 Fedora Update System 2018-02-19 09:15:35 UTC
qt-creator-4.5.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6fe8455d9b

Comment 14 Fedora Update System 2018-02-19 18:22:25 UTC
qt-creator-4.5.1-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-6fe8455d9b

Comment 15 Fedora Update System 2018-02-27 17:18:57 UTC
qt-creator-4.5.1-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2018-03-06 17:27:45 UTC
qt-creator-4.5.1-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


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