[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Loading source code from disk to Qt creator
From:       Roney Gomes <roney477 () gmail ! com>
Date:       2014-01-18 15:47:04
Message-ID: 52DAA1F8.5070308 () gmail ! com
[Download RAW message or body]

Em 18-01-2014 12:26, Arjun Ak escreveu:
> This is the same error that you had before. You missed out
> "-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4"

And you wouldn't have to pass this variable explicitly if you had
configured Qt Creator's kits.

Create a new kit pointing to qmake-qt4. (Tools > Options > Build & Run >
Kits).

Also, why are you installing things on /usr/local? Better to set up a
folder on your home directory since you don't need to be root to install
things there.

I use the following folder structure:

kde
├── build
├── home
├── inst
└── src

Configure Qt Creator to build on kde/build and add the extra "install"
step on your project's build settings, don't forget to set
-DCMAKE_INSTALL_PREFIX to wherever kde/inst is.

On the run tab you can define where is the final binary you compiled.
According to the structure above it should be kde/inst/bin/okular
-- 
Roney

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic