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. Problems with qt.conf and hard links
Forum Updated to NodeBB v4.3 + New Features

Problems with qt.conf and hard links

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 831 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.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    I have problems with qt.conf and hard links.
    My qt.conf file is:

    [Paths]
    Plugins=plugins
    Libraries=libs

    The Libraries=libs row doesn't work.
    With this file I have two different behaviours on Linux. On a i386 machine, using the already built Qt 5.5 version I have to create a link called lib to the libs folder, immediately out of the plugin folder (This isn't a real problem.).
    In an Arm machine (raspberry pi), where I'm using Qt 5.5 from source, I have to create an empty folder called /usr/local/Qt-5.5.0 and in it I have to create a link called lib to libs folder (This is a problem.).

    Have I to open a bug report or is there a way to resolve without to create the /usr/local/Qt-5.5.0 folder?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • MaikolyM Offline
      MaikolyM Offline
      Maikoly
      wrote on last edited by
      #2

      may be try including the libs first on the pro before anything... just a try! let me know..

      MIC TEC SYSTEMS.Ke

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote on last edited by
        #3

        Are you speaking about ResourceFile.qrc?

        My pro file is

        [code]
        #-------------------------------------------------

        Project created by QtCreator 2013-11-25T16:26:14

        #-------------------------------------------------

        QT += core gui

        greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport

        unix:!mac {
        LIBS += -Wl,-rpath=\$$ORIGIN/libs
        }

        unix {

        INCLUDEPATH += ../../PIGPIO/
        
        unix:!mac {
            LIBS += ../../PIGPIO/libpigpio.a
            LIBS += -L/usr/lib/ -lrt
        }
        

        }

        TARGET = RFIDManager
        TEMPLATE = app

        SOURCES += main.cpp
        qfmainwindow.cpp
        qthrfidmanager.cpp
        qcrfidmanager.cpp
        qthlpt.cpp
        qdconfigure.cpp

        HEADERS += qfmainwindow.h
        qthrfidmanager.h
        qcrfidmanager.h
        qthlpt.h
        qdconfigure.h

        FORMS += qfmainwindow.ui
        qdconfigure.ui

        RESOURCES +=
        ResourceFile.qrc

        OTHER_FILES +=
        qt.conf
        [/code]

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        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