<commit_before># Prepare everything for using FindQt5 and building a Qt5 target.
macro(setup_qt)
    if(CMAKE_SIZEOF_VOID_P EQUAL 8)
        # Search for 64bit Qt
        set(QT_ROOT $ENV{QT_ROOT_64})
    else()
        # Search for 32bit Qt
        set(QT_ROOT $ENV{QT_ROOT_32})
    endif()

    list(APPEND CMAKE_PREFIX_PATH ${QT_ROOT}/lib/cmake/Qt5)
    set(CMAKE_AUTOMOC ON)<commit_msg>Allow the Qt directory to be set from the command line.<commit_after># Prepare everything for using FindQt5 and building a Qt5 target.
macro(setup_qt)
    if(NOT QT_ROOT)
        if(CMAKE_SIZEOF_VOID_P EQUAL 8)
            # Search for 64bit Qt
            set(QT_ROOT $ENV{QT_ROOT_64})
        else()
            # Search for 32bit Qt
            set(QT_ROOT $ENV{QT_ROOT_32})
        endif()
    endif()

    list(APPEND CMAKE_PREFIX_PATH ${QT_ROOT}/lib/cmake/Qt5)
    set(CMAKE_AUTOMOC ON)
{'fraction_non_alphanumeric': 0.08503401360544217, 'fraction_numerical': 0.027210884353741496, 'mean_word_length': 2.7574468085106383, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4512389', 'n_tokens_mistral': 348, 'n_tokens_neox': 306, 'n_words': 80}