Installation details.<br><br>My distro is Ubuntu 12.04 (Precise) alpha.<br><br>$ lsb_release -a<br>Distributor ID: Ubuntu<br>Description:    Ubuntu precise (development branch)<br>Release:        12.04<br>Codename:     precise<br>
--------------<br><br>$ kde4-config --kde-version<br>4.8.1 (4.8.1)<br><br>$ dpkg -l | grep kdelibs<br>ii  kdelibs-bin                            4:4.8.1-0ubuntu1    core executables for KDE Applications<br>ii  kdelibs5-data                         4:4.8.1-0ubuntu1   core shared data for all KDE Applications<br>
ii  kdelibs5-dev                          4:4.8.1-0ubuntu1   development files for the KDE Development Platform libraries<br>ii  kdelibs5-experimental-dev       4:4.8.1-0ubuntu1  experimental development files for the KDE Development Platform libraries<br>
ii  kdelibs5-plugins                     4:4.8.1-0ubuntu1  core p<br>--------------<br><br>$ plasma-device --version<br>Qt: 4.8.0<br>KDE Development Platform: 4.8.1 (4.8.1)<br>Plasma Workspace: 1.0<br>--------------<br><br>
$ qtcreator -version<br><br>Qt Creator 2.4.1 based on Qt 4.8.0<br>  AnalyzerBase 2.4.1 Code Analyzer Base Plugin<br>  Bazaar 2.4.1 Bazaar integration.<br>  BinEditor 2.4.1 Binary editor component.<br>  Bookmarks 2.4.1 Bookmarks in text editors.<br>
  CMakeProjectManager 2.4.1 CMake support<br>  CVS 2.4.1 CVS integration.<br>  ClassView 2.4.1 Class View component.<br>  CodePaster 2.4.1 Codepaster plugin for pushing/fetching diff from server<br>  Core 2.4.1 The core plugin for the Qt IDE.<br>
  CppEditor 2.4.1 C/C++ editor component.<br>  CppTools 2.4.1 Tools for analyzing C/C++ code.<br>  Debugger 2.4.1 Debugger integration.<br>  Designer 2.4.1 Qt Designer integration.<br>  FakeVim 2.4.1 VI-style keyboard navigation.<br>
  Find 2.4.1 Provides the find widget and the hooks for find implementations.<br>  GLSLEditor 2.4.1 Editor for GLSL.<br>  GenericProjectManager 2.4.1 Generic support<br>  HelloWorld 2.4.1 Hello World sample plugin.<br>  Help 2.4.1 Help system.<br>
  ImageViewer 2.4.1 Image Viewer component.<br>  Locator 2.4.1 Provides the Locator widget and the hooks for Locator filter implementations.<br>  Macros 2.4.1 Macros in text editors.<br>  Madde 2.4.1 Support for MADDE-based platforms, including Fremantle and MeeGo 1.2 Harmattan.<br>
  Mercurial 2.4.1 Mercurial integration.<br>  Perforce 2.4.1 Perforce integration.<br>  ProjectExplorer 2.4.1 ProjectExplorer framework that can be extended with different kind of project types.<br>  QmlDesigner 2.4.1 Visual Designer for QML files.<br>
  QmlJSEditor 2.4.1 Editor for QML and JavaScript.<br>  QmlJSInspector 2.4.1 Debugger for QML files<br>  QmlJSTools 2.4.1 Tools for analyzing Qml/JS code.<br>  QmlProfiler 2.4.1 Qml Profiler Plugin<br>  QmlProjectManager 2.4.1 Qt Quick support<br>
  Qt4ProjectManager 2.4.1 Provides project type for Qt 4 pro files and tools.<br>  QtSupport 2.4.1 Provides support code for build systems.<br>  RemoteLinux 2.4.1 Support for deployment to and execution on a remote Linux host.<br>
  ResourceEditor 2.4.1 Editor for qrc files.<br>  ScmGit 2.4.1 Git integration.<br>  Subversion 2.4.1 Subversion integration.<br>  TaskList 2.4.1 Use .tasks-files to populate the Issues view.<br>  TextEditor 2.4.1 Text editor framework and the implementation of the basic text editor.<br>
  UpdateInfo 2.4.1 Displays Update-Infos for Qt Installer Framework-based Updaters.<br>  VCSBase 2.4.1 Version Control System Base Plugin<br>  Valgrind 2.4.1 Valgrind Plugin<br>  Welcome 2.4.1 Default Welcome Screen Plugin<br>
(C) 2011 Nokia Corporation<br>-----------<br><br>// Osmo (Moma) Antero<br><br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 7:03 PM, Osmo Antero <span dir="ltr"><<a href="mailto:osmoma@gmail.com">osmoma@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>I have just started with plasma-mobile and would like to change the applications/webbrowser program.<br><br>I can now re-compile the entire plasma-mobile/ with this mantra:<br>
$ cd plasma-mobile<br>$ mkdir build; cd build<br>
$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr<br>$ make<br>$ sudo make install<br><br>And it's possible to run eg. the active-webbrowser app with success.<br>$ active-webbrowser -v<br><br>However, I would like to use the QtCreator to change the "webbrowser.qml" file in "$HOME/plasma-mobile/applications/webbrowser/package/contents/ui/". <br>

<br>The QtCreator seems to complain that it cannot find some libraries:<br><br>import org.kde.plasma.core 0.1 as PlasmaCore    <-- fails to find<br>import org.kde.plasma.components 0.1 as PlasmaComponents  <-- fails to find.<br>

import org.kde.plasma.mobilecomponents 0.1 as MobileComponents  <--- found and OK.<br><br>Please see this picture:<br><a href="http://bildr.no/view/1138783" target="_blank">http://bildr.no/view/1138783</a><br><br>I have opened the project from its root directory ($HOME/plasma-mobile/) and the compilation (within QtCreator) seems to work right.<br>

* But what is the right setup for QtCreator for plasma-mobiler (plasma-device) project. <br>* How to avoid the above "import..." errors.<br><br>The /usr/lib/kde4/imports/org/kde/plasma/ directory has these files:<br>

$ ls -l  /usr/lib/kde4/imports/org/kde/plasma/<br>drwxr-xr-x 2 root root 4096 Mar 23 09:23 components<br>drwxr-xr-x 2 root root 4096 Mar 23 09:23 core<br>drwxr-xr-x 2 root root 4096 Mar 23 09:23 graphicslayouts<br>drwxr-xr-x 2 root root 4096 Mar 23 09:23 graphicswidgets<br>

drwxr-xr-x 2 root root 4096 Mar 23 17:05 mobilecomponents<br>drwxr-xr-x 2 root root 4096 Mar 23 09:45 slccomponents<br><br>I know Ubuntu/Unity but KDE is pretty new for me at this level.<br><br>Kindly <br>  Osmo (Moma) Antero<br>

<br><br>
</blockquote></div><br><br clear="all"><br>-- <br>// moma<br>   <a href="http://www.futuredesktop.org">http://www.futuredesktop.org</a><br>