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. Make Install puts Files in wrong path
Forum Updated to NodeBB v4.3 + New Features

Make Install puts Files in wrong path

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 5.0k 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.
  • N Offline
    N Offline
    nalamar
    wrote on last edited by
    #1

    Hi there,

    i compiled qt-4.7.3 on my own to add mysql support. (win 7/mingw) But i ran in a little trouble.
    First i installed QtSDK on my Drive e:, after that i downloaded qt-everywhere-src and put it in d:\qtsrc, running configure and mingw32-make i noticed i dont have enough space on D: left. So i copied all the files to e:\qtsrc. Because i want to replace the qt version in the sdk i ran configure like that:

    configure -plugin-sql-mysql -shared -prefix e:\qtsdk\desktop\qt\4.7.3\mingw -nomake demos -opensource -confirm-license -nomake examples -no-qt3support -I D:\MySQL\include -L D:\MySQL\lib -l libmysql

    mingw32-make

    waiting several hours Qt compiled nicely. After running QtCreator, it told me that Qt isnt installed proberly and i should run make install .... i did -> mingw32-make install

    Now i got the problem that this puts all the files in d:\qtsrc .....

    Question ... how can i tell "mingw32-make install" ... to put the files in the correct QtSDk dir .....

    Thanks in advance
    Nala

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on last edited by
      #2

      AFAIK the configure script on Windows does not have the -prefix option. Please someone correct me if I am wrong.

      When you moved the source directory, maybe some old configuration files stayed in place. Try to clean (distclean) the source directory and run the configure script again.

      Question: Why do you need to overwrite the QtSDK libraries? You can configure Qt Creator to use your own Qt build (tools->options->qt4->add button)

      Anselmo L. S. Melo (anselmolsm)

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nalamar
        wrote on last edited by
        #3

        Thanks for your answer, i know that i can configure my own Libs, but i want to save space ... i dont need the Libs without mysql anymore, so why hold them ?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          hi Nala

          I am not completely understanding your problem, but it may be similar to another.
          You might want to have a look to that thread respectively to "this reply":http://developer.qt.nokia.com/forums/viewthread/7263/#42760
          Hope that this gives you some hints.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nalamar
            wrote on last edited by
            #5

            Thank you! I decided to delete all and download the source again and receompile it ...
            But it may could have helped ... i ll give it a try next time :D

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on last edited by
              #6

              That is the old sw developer trick.
              When the engine of your car stalls,

              • get out of the car
              • lock the doors
              • unlock the doors
              • get into the car
              • start the engine again
                :D

              Vote the answer(s) that helped you to solve your issue(s)

              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