Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4066414
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:07:40+00:00 2026-05-20T16:07:40+00:00

I have recently recompiled Qt so that I can use static instead of shared

  • 0

I have recently recompiled Qt so that I can use static instead of shared libraries. But now, when I try to compile my project, I get the following error:

QMAKESPEC has not been set, so configuration cannot be deduced.

It seems like a common problem and I did do some research before posting. What’s puzzling me is that I did set the QMAKESPEC env var. Here is the output of printenv QMAKESPEC

/usr/local/Trolltech/Qt-4.4.0/mkspecs/linux-g++

Also, here is the output of qmake -query QMAKESPEC

linux-g++

I have also tried playing around with the values, but it seems that qmake can’t see that variable at all… QTDIR is also specified properly.

I have also tried to recompile Qt and reinstall it.

Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T16:07:41+00:00Added an answer on May 20, 2026 at 4:07 pm

    Ok, sorry, I think I know what’s the problem. I have been picking up qmake from the old Qt installation that was left in /usr/bin/. I have deleted it now, and going to re-try installing Qt. Hope it will work =)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently started work on a project that has already been running for
Have recently been given a project to complete which uses XML quite extensively.Am looking
I have recently written an application(vb.net) that stores and allows searching for old council
I have recently run across these terms few times but I am quite confused
I have recently discovered that I am affected by this bug http://www.mail-archive.com/mono-bugs@lists.ximian.com/msg71515.html Well, at
I have recently tried sharpening my rails skills with this tool: http://github.com/edgecase/ruby_koans but I
I have a project that adds elements to an AutoCad drawing. I noticed that
I have a C++ COM Server which I have recently recompiled to 64 bit.
I have recently joined a company that using typed datasets as their 'Dto'. I
I have recently been updating a site so that it looks nearly as good

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.