ubuntu qtcreator is removing user files

Bug #1335883 reported by Renato Araujo Oliveira Filho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Critical
Unassigned
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After run the qtcretor from my source root dir, some pre-compiled files disappear:

How to reproduce (qmake projects)
==============================

1 - go inside any qmake source dir
2 - manually run qmake to create the necessary build files
3 - open the qtcreator project: qtcreator my-project.pro
4 - try to manually build the project: make

Expected:
--------------
The project build ok

Current Result
-------------------
The project fail to build due missing Makefile.

How to reproduce (cmake projects)
==============================

1 - go inside any cmake project source dir
2 - create a build dir: mkdir build
3 - go inside build dir: cd build
4 - run cmake: cmake ../CMakeLists.txt
5 - open qtcreator from build dir: qtcreator ../CMakeLists.txt
6 - try to manually build the project: make

Expected:
--------------
The project build ok

Current Result
-------------------
The project fail to build due missing files.

Related branches

Changed in qtcreator-plugin-ubuntu:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Benjamin Zeller (zeller-benjamin) wrote :

The cause for this bug is a workaround we had to do in order to
get cmake projects compiling using the chroots. It is still required
to delete previously created buildfiles or cmake will fail with:

CMake Error at /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreConfig.cmake:27 (message):
  The imported target "Qt5::Core" references the file

     "/usr/lib/arm-linux-gnueabihf/qt5/bin/moc"

  but this file does not exist. Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/arm-linux-gnueabihf/cmake/Qt5Core/Qt5CoreConfigExtras.cmake"

  but not all the files it references.

Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: Confirmed → Fix Committed
assignee: nobody → zbenjamin (zeller-benjamin)
status: Fix Committed → Confirmed
assignee: zbenjamin (zeller-benjamin) → nobody
status: Confirmed → Won't Fix
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: Won't Fix → Confirmed
importance: Medium → Critical
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.1.1+14.10.20140804.1-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.1.1+14.10.20140804.1-0ubuntu1) utopic; urgency=low

  [ Benjamin Zeller ]
  * Apidocs should point to the currently used UI toolkit version
    lp:1276695. Fixes bug: lp:1335883 "ubuntu qtcreator is removing user
    files" (LP: #1335883, #1276695)
 -- Ubuntu daily release <email address hidden> Mon, 04 Aug 2014 15:01:06 +0000

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → 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.