Problems with qt.conf and hard links



  • 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?



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



  • 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]


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.