Results 1 to 3 of 3

Thread: Generate makefile

  1. #1
    Join Date
    Oct 2009
    Location
    Poland
    Posts
    34
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Generate makefile

    Hello,
    I imported a project under linux from windows and when i try to compile it i'am getting compile output message:
    Qt Code:
    1. Failure to open file: /home/stig/Dev/OpenGLVectors/Makefile
    2. Unable to generate makefile for: /home/stig/Dev/OpenGLVectors/OpenGLVectors.pro
    To copy to clipboard, switch view to plain text mode 

    how can i sort this out?

    Regards

  2. #2
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Generate makefile

    Looks like a permissions problem. Make sure you have write permission in the directory.

  3. #3
    Join Date
    Mar 2008
    Location
    France
    Posts
    149
    Thanks
    2
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Generate makefile

    It might be directory path issue when porting to Linux . Delete all your Makefile and *.pro file.
    Rebuild all (run qmake -project, qmake and make).

Similar Threads

  1. [qmake] Generate Makefile with include $(ORACLE_HOME)/precomp/env_precomp.mk
    By paulocarvalho_br_2009 in forum Qt Programming
    Replies: 10
    Last Post: 21st May 2009, 16:52
  2. Generate PDF
    By lexfridman in forum Qt Programming
    Replies: 3
    Last Post: 31st August 2008, 12:44
  3. Generate Qt documentation
    By bunjee in forum Qt Programming
    Replies: 1
    Last Post: 21st August 2008, 16:09
  4. Generate a correct makefile
    By SteM in forum Installation and Deployment
    Replies: 13
    Last Post: 22nd October 2007, 08:58
  5. how can i generate .cpp file in QT 4.3.0
    By gamitkumar in forum General Programming
    Replies: 4
    Last Post: 3rd September 2007, 22:23

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.