Results 1 to 3 of 3

Thread: Destdir

  1. #1
    Join Date
    Oct 2009
    Posts
    12

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

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Destdir

    make sure you don't have permissions problem.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Oct 2009
    Posts
    12

    Default 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.
    Last edited by tiho_bg; 29th March 2011 at 17:02.

Similar Threads

  1. qmake DESTDIR permissions behavior (Unix)
    By wdezell in forum Qt Tools
    Replies: 3
    Last Post: 9th March 2009, 14:59
  2. XCode and Plugins - DESTDIR
    By themolecule in forum Qt Programming
    Replies: 4
    Last Post: 9th October 2007, 19:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.