Can't access Qt creator design mode

Bug #752713 reported by Christer
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
qtcreator (Debian)
Fix Released
Unknown
qtcreator (Fedora)
Fix Released
Medium
qtcreator (Ubuntu)
Fix Released
Undecided
Didier Roche-Tolomelli
qtcreator (openSUSE)
Fix Released
Medium

Bug Description

Binary package hint: qtcreator

Qt Creator dose not work properly when installing from Ubuntu software center. When starting a new project or opening an old one the design button stays grade out and cant be pressed and there for one can't access the design mode. I tried to uninstall it and reinstall but it didn’t help. I then completely unistalled it whit synaptic and reinstall but it didn’t help. I then uninstalled it and installed the bin file that I downloaded from the Qt website and that worked.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: qtcreator 2.1.0-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Wed Apr 6 18:55:44 2011
ExecutablePath: /usr/bin/qtcreator
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANGUAGE=en
 LANG=sv_SE.utf8
 LC_MESSAGES=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: qtcreator
UpgradeStatus: Upgraded to natty on 2011-03-25 (12 days ago)

Related branches

Revision history for this message
Christer (arctic-stoat) wrote :
Revision history for this message
In , Linuxmaster (linuxmaster) wrote :

User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.0) Gecko/20100101 Firefox/4.0

This problem is with qt-creator binaries that come from opensuse repos. Installing the same binaries from Qt, everything works fine.

When you select a qml file on your project the Design button should be enabled.

Reproducible: Always

Steps to Reproduce:
1. Create a new QML (Qt Quick) project or load an existing one
2. Select a qml file on the project tree

Actual Results:
3. Design button stays grayed out

Expected Results:
3. Design button is enabled (becomes clickable)

The exact same version of qt-creator is available from Qt and it works.

Revision history for this message
In , Linuxmaster (linuxmaster) wrote :

The same problem has been reported on Ubuntu built packages of qt-creator.
https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/752713

Here's a link to the Qt forum about this problem:
http://developer.qt.nokia.com/forums/viewthread/5666/

//Agron

Revision history for this message
Agron Selimaj (agron-ca) wrote :

This bug is also present on qt-creator packages prepared by OpenSUSE.
https://bugzilla.novell.com/show_bug.cgi?id=692648

Here's a link to the Qt forum about this problem:
http://developer.qt.nokia.com/forums/viewthread/5666/

Revision history for this message
In , Egdfree (egdfree) wrote :

I installed Qt Creator 2.2 and make steps to reproduce, result: Qt Creator not answer.

Revision history for this message
In , Linuxmaster (linuxmaster) wrote :

Andrey Karepin, please tell us where installed Qt-Creator from? It is important because the one from QT is fine, but the one from OpenSUSE is not.
BTW, I don't think Qt-Creator 2.2 is in OpenSUSE repositories yet.
Also, what do you mean by "result: Qt Creator not answer."?

Revision history for this message
In , Egdfree (egdfree) wrote :

(In reply to comment #3)
I instal it from
http://download.opensuse.org/repositories/KDE:/Release:/46/openSUSE_11.4/

>Also, what do you mean by "result: Qt Creator not answer."?
Qt Creator any more doesn't answer any actions of the user, thus processor consumption equally 0.

Revision history for this message
In , Linuxmaster (linuxmaster) wrote :

This bug is about the "Design" button not becoming enabled.
Please create another bug, and explain how qt-creator 2.2 becomes unresponsive.

Revision history for this message
In , Linuxmaster (linuxmaster) wrote :

Please assign this bug to the buildmaster of qt-creator package. He needs to follow a slightly different procedure for qt-creator 2.1 and 2.2.

Here's the solution I found at:
http://lists.qt.nokia.com/pipermail/qt-creator/2010-November/008157.html

On 11/30/2010 7:34 AM, Becker Stefan (Nokia-MS/Salo) wrote:
> Hi,
>
> I'm trying Qt Creator on Fedora 14 and found that the QmlDesigner was
> missing in their qt-creator-2.1.0-4.rc1.fc14 package. We're discussing
> the problems in the following bug reports:
>
> <https://bugzilla.redhat.com/show_bug.cgi?id=657498>
> <https://bugzilla.redhat.com/show_bug.cgi?id=657752>
>
>
>
> qt-creator/QmlDesigner compilation requires a lot of internal Qt files,
> not only from include/, but also under src/. This makes it really
> difficult to package it separately. Is this issue known and will be
> addressed in future releases?

Hi,

Yes, it is known and we intend to fix it :) The solution we're aiming
for is to install the private headers with Qt, like we do for normal
headers. I hope we'll get this with Qt 4.8.

Meanwhile you have to compile creator against a self-compiled Qt (which
must also be the the exact same Qt version it will run with), and
specify the location of the private headers in the Qt source tree e.g.
via `qmake -r "QT_PRIVATE_HEADERS=$QTDIR/include"`

Regards

Kai

--
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori

Revision history for this message
Malte S. Stretz (mss) wrote :

Oops, sorry, fat fingers.

Changed in qtcreator (Ubuntu):
status: New → Confirmed
status: Confirmed → New
Revision history for this message
Malte S. Stretz (mss) wrote :

I linked some bugs from other distros. Short summary: The QmlDesigner plugin is not built because it requires private Qt header files. Looks like Fedora fixed it by creating something like a libqt4-private-dev package and Build-Depends on it.

Malte S. Stretz (mss)
Changed in qtcreator (Ubuntu):
status: New → Confirmed
Felix Geyer (debfx)
Changed in qtcreator (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
status: Confirmed → In Progress
Revision history for this message
Christer (arctic-stoat) wrote :

Cool that things are happening :) Took some time for someone to look at it and confirm it but not that long. As long as the problem is fixed I and probably many more will be really happy.

Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

@Christer: the issue is quite complex, not sure it can be backported in natty. I'll work on experimenting this in oneiric first (I'll probably look at that next week). then, we can try to backport in a ppa for natty.

Changed in qtcreator (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator - 2.2.1-1ubuntu1

---------------
qtcreator (2.2.1-1ubuntu1) oneiric; urgency=low

  * Merge from debian unstable
  * 05_dont_build_qmldesigner_on_armel.diff, debian/rules,
    debian/qtcreator.install.armel:
    - try to not build qmldesigner on armel: many qreal/float typing issue and
      qmldesigner isn't suited for armel anyway
  * debian/qtcreator.install, debian/qtcreator.install.linux:
    - install qmlpuppet to get qmldesigner working (LP: #752713)
 -- Didier Roche <email address hidden> Fri, 22 Jul 2011 11:03:38 +0200

Changed in qtcreator (Ubuntu):
status: In Progress → Fix Released
Changed in qtcreator (Debian):
status: New → Fix Released
Revision history for this message
In , Egdfree (egdfree) wrote :

bug not reproduce in Qt Creator 2.5.1.

Changed in qtcreator (openSUSE):
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Jhosman Lizarazo (jhosman) wrote :

Hi all.

I have installed QT Creator version> 2.5.2 and Design option is disabled again = ( in Ubuntu

https://plus.google.com/101138711298535125312/posts/etdcCsMaksc

Revision history for this message
In , sumski (hrvoje-senjan) wrote :

Closing, 11.4 reached EOL, if you can reproduce with >= 12.1 open a new BR.

Changed in qtcreator (openSUSE):
status: Confirmed → Fix Released
Changed in qtcreator (Fedora):
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.