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]My little,small program has problems (Ubuntu 14.04, Qt5, Code::Blocks)

[SOLVED]My little,small program has problems (Ubuntu 14.04, Qt5, Code::Blocks)

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 1.3k Views
  • 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.
  • S Offline
    S Offline
    s33k3rgr
    wrote on 23 Nov 2014, 17:20 last edited by
    #1

    Ok i am going to post a series of pictures i took, with some red annotations on them:

    Picture 1 : My Main.cpp

    !http://img42.com/kEGoO+(main.cpp)!

    Picture 2 : Qt5.3 Directory on Ubuntu

    !http://img42.com/rqIei+(Qt5.3 Directory structure on Ubuntu)!

    Picture 3 : Additional include directories on Code::Blocks

    !http://img42.com/SjOBV+(Additional include Directories)!

    Picture 4 : Linker Directory i've included on Code::Blocks

    !http://img42.com/2tNeM+(Directory for Linker)!

    Picture 5 : Linker Libraries i point to

    !http://img42.com/Kv6pO+(Linker Libraries)!

    Picture 6 : Some other options

    !http://img42.com/Rebew+(Other options)!

    Picture 7 : And the error i am getting when i finally run the program

    !http://img42.com/IR9Nd+(Error)!

    This is the first time i'am trying to go into Qt5 on Ubuntu and i need to work with Code::Blocks,
    because this is the IDE i am most confordable with in case someone suggest QtCreator. I know its
    powerfull but i will use Qt5 only for some parts, not the whole project will be based on Qt5. Is there any good
    tutorial-introduction you know about Qt5 and Linux in general?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      s33k3rgr
      wrote on 23 Nov 2014, 18:09 last edited by
      #2

      The issue was that in linker settings i didn't include Qt5Widget library. I feel dump.

      1 Reply Last reply
      0

      1/2

      23 Nov 2014, 17:20

      • Login

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