-
Destdir
Hi everybody
I woul like to ask something. I am working with Qt4 on ubuntu. I have made a .pro file
TEMPLATE = lib
CONFIG += designer plugin release
HEADERS = ../iconeditor/iconeditor.h \
iconeditorplugin.h
SOURCES = ../iconeditor/iconeditor.cpp \
iconeditorplugin.cpp
DESTDIR = $(QTDIR)/plugins/designer
When I run qmake iconeditorplugin.pro I have recieved the following warning:
DESTDIR: Cannot access directory '$(QTDIR)/plugins/designer'
Please help me to resolve the problem.
-
Re: Destdir
make sure you don't have permissions problem.
-
Re: Destdir
Thank you for your answer. Please could you explain how to repair my permissions problem.
I have enabled my root account writting su in the command line. Then I wrote qmake-qt4 iconeditorplugin.pro. There were no errors. Then I wrote make and I have now libiconeditorplugin.so in my directory where it is placed .pro file. I think that my plugin is ready to use but I don't see this plugin in Qt Designer.
Please help me again.
Added after 25 minutes:
Thank you. I have resolved my problem.