Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Qt 5.1.1 virgin install on Ubuntu not building. Can't find widgets/core/gui
Qt 6.11 is out! See what's new in the release blog

[Solved] Qt 5.1.1 virgin install on Ubuntu not building. Can't find widgets/core/gui

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.6k 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.
  • C Offline
    C Offline
    Chef_Flambe
    wrote on last edited by
    #1

    First time using Qt.

    Just installed current Qt 5.1.1 on my Ubuntu 12.04 machine, installed build-essentials prior to Qt install.

    I opened a new Application/GUI project to play with. Haven't added anything to it yet so it just has its default files. I tried to build it and it throws errors:

    :-1: error: skipping incompatible /home/Me/Qt5.1.1/5.1.1/gcc/lib/libQt5Widgets.so when searching for -lQt5Widgets
    
    :-1: error: cannot find -lQt5Widgets <
    

    Does same thing for the Core/Gui files.

    Decided to open an example that was included with Qt. Then built it. It also threw the same errors.

    What's wrong? My extra reading said something about adding a QT += widgets line in the .pos file but that seems to be there inside a version check automatically.

    I thought this was going to be working out of the box? What have I missed?

    • Solved : Thought I was running 32-bit Linux but turns out to be 64-bit version. Had installed the wrong Qt version. Works fine with correct version. Doh!
    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