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 <<

Reply via email to