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: reinstalling after changing system hard drive
Forum Updated to NodeBB v4.3 + New Features

SOLVED: reinstalling after changing system hard drive

Scheduled Pinned Locked Moved Installation and Deployment
16 Posts 4 Posters 6.7k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi -

    Today I put a new drive in my system. I thought I'd restored everything properly, but when I try to open a project, I get the following message:

    bq. No valid qt versions found.
    Please add a qt version in Tools/Options or via the maintenance tool of the SDK.

    What exactly does this mean? I have Qt in my tools directory.

    Thanks.

    EDIT:

    After a little more looking, it appears (though I'm not sure) that path to the qmake location might be the trouble. In Preferences-> Qt4, the qmake location shows as "<not found>" for Qt in PATH. I checked in my terminal, and PATH seems to be correct.

    Any ideas what I need to do to get going again?

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      You could add the path to your qmake in qt creator.

      Tools > options > tab qt4 > add button and add that location.
      You can even set it as the default.

      I hope this helps.

      Qt Certified Specialist
      www.edalsolutions.be

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        ZapB
        wrote on last edited by
        #3

        As Eddy says, just tell Qt-Creator where your Qt4's qmake executable is.

        Nokia Certified Qt Specialist
        Interested in hearing about Qt related work

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #4

          Thanks for the replies, guys. I noticed late last night that a whole bunch of files seem to be missing; I guess my restore wasn't as good as I'd hoped.

          I'm going to reinstall Qt from scratch right now; we'll see whether that fixes the problem.

          EDIT:

          OK, Now I'm getting a warning at the start of the SDK installation:

          bq. You need a C++ compiler to be able install the Qt SDK. Please install the latest Xcode first before invoking this installer!

          I have two problems with this:

          1. I never needed the newest version of Xcode before. I do have Xcode installed; just an earlier version. The latest has a cost.
          2. I had been using gcc as my compiler anyway.

          Ignoring that, I also get a warning that the installation path must not contain any space. For real? Does this include the name of my drive?

          Thanks for any help; I want to try to do this right.

          EDIT AGAIN:

          OK, I think I've obviated the above problems by re-installing XCode and changing my PATH variable. I can successfully (I think) invoke the compiler from Creator. Stand by for more dumb questions...

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #5

            Did you install XCode or just restore from the backup? If just restored, it could be that some binaries in /usr/bin are missing. I would try to do a regular installation of XCode then.

            There should be various gcc-xxx binaries and symlinks in /usr/bin.

            XCode 3.x is sufficient, I have 3.2.x running here and everything is fine.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #6

              Hi, Volker –

              Yeah, I did a restore (from a TM backup). Evidently a LOT of stuff was missing...I wonder what other time bombs await me down the road.

              Anyway, I did reinstall XCode from the Apple binary, and it seems to be working OK now. I'm still a little surprised that I had to manually add the path in preferences; I'd feel better if it had successfully auto-detected it. But, I guess I can live with it.

              Thanks...

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #7

                Timemachine is somewhat problematic. It silently removes old stuff if it runs out of space and needs to save new stuff. So you might end up with an incomplete backup.

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  ZapB
                  wrote on last edited by
                  #8

                  That sounds like a disaster waiting to happen. Is TM supposed to be a proper backup mechanism or just a convenience? (Serious question since I do not have much experience with Mac)

                  Nokia Certified Qt Specialist
                  Interested in hearing about Qt related work

                  1 Reply Last reply
                  0
                  • mzimmersM Offline
                    mzimmersM Offline
                    mzimmers
                    wrote on last edited by
                    #9

                    [quote author="ZapB" date="1308849102"]That sounds like a disaster waiting to happen. Is TM supposed to be a proper backup mechanism or just a convenience? (Serious question since I do not have much experience with Mac)[/quote]

                    Eh...it's somewhere in between. Most people (including me) keep their TM volumes on drives large enough to never fill up. Once TM has made its initial backup, it's remarkably efficient on disk space. That's why I'm pretty sure this wasn't my issue.

                    That said, as great as TM is (and it's saved my bacon more than once), there's a lot of room for improvement. Hopefully when Lion comes out next month, it will feature some of these improvements.

                    1 Reply Last reply
                    0
                    • Z Offline
                      Z Offline
                      ZapB
                      wrote on last edited by
                      #10

                      Doesn't sound as if TM provides anything that rsync + hard links can't. ;-)

                      Nokia Certified Qt Specialist
                      Interested in hearing about Qt related work

                      1 Reply Last reply
                      0
                      • mzimmersM Offline
                        mzimmersM Offline
                        mzimmers
                        wrote on last edited by
                        #11

                        [quote author="ZapB" date="1308849522"]Doesn't sound as if TM provides anything that rsync + hard links can't. ;-)[/quote]

                        Except for ease of use for the masses.

                        1 Reply Last reply
                        0
                        • Z Offline
                          Z Offline
                          ZapB
                          wrote on last edited by
                          #12

                          True. Maybe someone should wrap up rsync in an optional shiny GUI - maybe one that looks like a DeLorean ;-)

                          Nokia Certified Qt Specialist
                          Interested in hearing about Qt related work

                          1 Reply Last reply
                          0
                          • mzimmersM Offline
                            mzimmersM Offline
                            mzimmers
                            wrote on last edited by
                            #13

                            Well, I thought I was fixed, but...now I'm getting an error:

                            bq. make: *** No rule to make target /Volumes/750 GB/Users/mzimmers/wideband/SoC simulator/simulatorGUI/DemodShaperFilter.qml', needed by simulatorGUI.app/Contents/MacOS/DemodShaperFilter.qml'. Stop.

                            The volume 750 GB is the old one; evidently, it's hard-coded somewhere inside my build preferences, but I can't find where. Any ideas?

                            Thanks...

                            1 Reply Last reply
                            0
                            • Z Offline
                              Z Offline
                              ZapB
                              wrote on last edited by
                              #14

                              Have you regenerated the Makefiles by re-running qmake?

                              Nokia Certified Qt Specialist
                              Interested in hearing about Qt related work

                              1 Reply Last reply
                              0
                              • mzimmersM Offline
                                mzimmersM Offline
                                mzimmers
                                wrote on last edited by
                                #15

                                [quote author="ZapB" date="1308936381"]Have you regenerated the Makefiles by re-running qmake?[/quote]

                                Aargh...I always forget that step. I had done a clean, but obviously that wasn't sufficient. Thanks, Zap.

                                1 Reply Last reply
                                0
                                • Z Offline
                                  Z Offline
                                  ZapB
                                  wrote on last edited by
                                  #16

                                  To get a clean build I usually do:

                                  @
                                  make distclean
                                  @

                                  followed by the usual

                                  @
                                  qmake -r
                                  make
                                  make install (if needed)
                                  @

                                  Nokia Certified Qt Specialist
                                  Interested in hearing about Qt related work

                                  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