No Global menu support for QtCreator after upgrade to 13.04

Bug #1172554 reported by Adrian Wechner
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
qtcreator (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

There is supposly global menu support for Qt5 applications since 13.04.
I upgraded today and I don't get any global menu in qt creator. I just get the normal in-window menus.

checking in the software-center, i have version qtbase5-dev 5.0.1+dfsg-0ubuntu4 installed. I was told that this should be fine so far. What else could I be missing? How can I help? What information do I need to provide additionally?

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qtcreator 2.7.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic i686
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Wed Apr 24 22:01:43 2013
InstallationDate: Installed on 2012-08-26 (241 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release i386 (20120423)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_CA:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: qtcreator
UpgradeStatus: Upgraded to raring on 2013-04-25 (0 days ago)

Revision history for this message
Adrian Wechner (adrian-wechner) wrote :
Revision history for this message
Adrian Wechner (adrian-wechner) wrote :

possible that I found the cause.
I tried to uninstall and install different packages and I found one package which made trouble.

libqtweb5 had a version which was not accepted when installing libqt5webkit5-dev
installed version: libqtweb5 (5.0.1-0ubuntu2~quantal1~test3)
needed version: libqtweb5 (5.0.1-0ubuntu1)

my conclusion is that in the process of upgrading from 12.10 (with sdk ppa) to 13.04 the package libqtweb5 was not correctly upgraded, (maybe because the quantal version seems to be higher then the raring version). and that caused that problem.

now, qtcreator has global menu. for me it is fixed. but for other which will upgrade having an ubuntu-sdk ppa installed in 12.10 will have the same problem propably.

below you see a walkthough what I did and how I got it solved. Just for the matter of giving you as much information as possible.

Summary:
(1) I removed qtbase5-dev with all its dependencies:
Removing libdbusmenu-qt5-dev ...
Removing libqt5opengl5-dev ...
Removing ubuntu-sdk ...
Removing libqt5webkit5-dev ...
Removing qt3d5-dev ...
Removing qt5-default ...
Removing qtsensors5-dev ...
Removing qtlocation5-dev ...
Removing qtdeclarative5-dev ...
Removing qtbase5-dev ...

(2) installed qtbase5-dev with dependencies:
 libqt5opengl5-dev qtbase5-dev

That did not fix the problem

(3) then wanted to install ubuntu-sdk again, but cound't because of the unmet dependency:
The following packages have unmet dependencies:
 ubuntu-sdk : Depends: libqt5webkit5-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

(4) so i tried to install libqt5webkit5-dev directly to get the full message:
adrian@i15:~$ sudo apt-get install libqt5webkit5-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
(...)
The following packages have unmet dependencies:
 libqt5webkit5-dev : Depends: libqt5webkit5 (= 5.0.1-0ubuntu1) but 5.0.1-0ubuntu2~quantal1~test3 is to be installed
E: Unable to correct problems, you have held broken packages.

(5) as a result i removed libqt5webkit5
adrian@i15:~$ sudo apt-get remove libqt5webkit5
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  android-tools-adb libbotan-1.10-0 libqt53d5 libqt5location5 qtcreator-doc qtdeclarative5-qtmultimedia-plugin qtdeclarative5-xmllistmodel-plugin ubuntu-ui-toolkit-examples
Use 'apt-get autoremove' to remove them.

(6) next i installed libqt5webkit5 and verified that the version is not 5.0.1-0ubuntu2~quantal1~test3. now it turned out to be libqt5webkit5 5.0.1-0ubuntu1. ONLY DIFFERENCE I SEE, so I think that must have been the problem.

(7) at the end i installed ubuntu-sdk which also installed dependencies like qtcreator
adrian@i15:~$ sudo apt-get install ubuntu-sdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libqt5declarative5 libqt5webkit5-dev qt3d5-dev qt5-default qtcreator qtcreator-plugin-ubuntu qtdeclarative5-dev qtlocation5-dev qtsensors5-dev

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

WebKit version is a bug in PPA, but it has nothing to do with menu bar. Global menu should work if you have libqt5widgets5 5.0.1+dfsg-0ubuntu4.

If now it works for you, I'm going to close this bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qtcreator (Ubuntu):
status: New → Confirmed
Revision history for this message
Adrian Wechner (adrian-wechner) wrote :

well, then i can't tell you what did fix it. for this reason i pasted the whole process i've gone trough. just to remind you, reinstalling qtbase5 did not fix it, that's why I continued from there on.

Revision history for this message
tiantian (tian-tian098) wrote :

I solved this bug by installing appmenu-qt5 on ubuntu.

Changed in qtcreator (Ubuntu):
status: Confirmed → Invalid
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.