Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED]No targets specified and no makefile found
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]No targets specified and no makefile found

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 7.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    adon90
    wrote on last edited by
    #1

    Hello everyone, I need to compile QT in order to have the script patch for wkhtmltopdf.
    Well, I do as it follows here: http://code.google.com/p/wkhtmltopdf/wiki/compilation
    The problem is the step: make -j3 && make install, I can't do make cause can't find a makefile.
    I don't know if that has to do with the step before, configure, but I don't think so.
    Please I really need to have this done as soon as possible and that is getting on my nerves.
    I appreciate so much any help really !

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi, and welcome to the Qt Dev Net!

      qmake generates the Makefile. Did you run the "qmake" step?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0
      • A Offline
        A Offline
        adon90
        wrote on last edited by
        #3

        Hi! I can't do the step qmake-qt4 cause I haven't installed the QT yet, so.... unrecognized command.
        I have a folder named qmake under the wkhtmltopdf-qt folder I don't know if that has something to do for generating the makefile, but I don't know how! Thanks for the answer

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          So you're trying to build Qt yourself from their sources? Ok, ignore qmake since it doesn't exist yet.

          You need to configure successfully first. That will generate the Makefile.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • A Offline
            A Offline
            adon90
            wrote on last edited by
            #5

            I have to say that I haven't done this step:
            cat ../wkhtmltopdf/static_qt_conf_base ../wkhtmltopdf/static_qt_conf_linux | sed -re 's/#.*//'
            As I don't have the files static_qt_conf_base and static_qt_conf_linux, I can't do that, but I don't know if that step is necesary, I think the purpose is replacing the comments in those files for blanks, but I don't know why.
            So having that I'm skipping that step, how would I have to do the configure¿? I do just as follows....

            ./configure -nomake tools,examples,demos,docs,translations -opensource -prefix "../wkqt"

            I have also tried the script ./configure without parameters but still I don't generate the makefile....
            Thank you for your answers

            1 Reply Last reply
            0
            • A Offline
              A Offline
              adon90
              wrote on last edited by
              #6

              Hi! It was a problem with the configure, Installing the package 'libxext-dev' solved the problem ;)

              1 Reply Last reply
              0
              • JKSHJ Offline
                JKSHJ Offline
                JKSH
                Moderators
                wrote on last edited by
                #7

                Great :) Happy coding!

                Please edit your original message and add "[SOLVED]" to the title.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved