[clazy] [Bug 355496] No old-style-connect anywhere in Qt Creator

Sergio Martins via KDE Bugzilla bugzilla_noreply at kde.org
Wed Nov 18 14:15:51 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=355496

Sergio Martins <smartins at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smartins at kde.org

--- Comment #2 from Sergio Martins <smartins at kde.org> ---
Can you test:

mkdir /tmp/clazy
cd <clazy_src_dir>
git clean -fdx
git pull
cmake -DCMAKE_INSTALL_PREFIX=/tmp/clazy/
make && make install

export PATH=/tmp/clazy/bin/:$PATH
export LD_LIBRARY_PATH=/tmp/clazy/lib64/:$LD_LIBRARY_PATH

cd <some_other folder>

Create a .pro and a main.cpp with this contents:
TEMPLATE = app
TARGET = test
INCLUDEPATH += .
SOURCES += main.cpp
CONFIG += C++11

main.cpp:

#include <QObject>

int main()
{
    QObject *o = nullptr;
    QObject::connect(o, SIGNAL(destroyed()), o, SLOT(deleteLater()));
}

qmake -spec linux-clang QMAKE_CXX=/tmp/clazy/bin/clazy
make

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list