金子邦彦研究室インストールWindows の種々のソフトウェア(インストール)QScintilla 2 のインストール(Windows 上)

QScintilla 2 のインストール(Windows 上)

前準備

Qt のインストール

Build Tools for Visual Studio 2022 (ビルドツール for Visual Studio 2022),Visual Studio 2022 のインストール(Windows 上)

サイト内の関連ページ

関連する外部ページ

QScintilla 2 のインストール(Windows 上)

  1. Riverbank の QScintilla 2 の Web ページを開く

    利用条件などを確認.

    https://riverbankcomputing.com/software/qscintilla

  2. QScintilla 2 のダウンロードのページを開く

    https://riverbankcomputing.com/software/qscintilla/download

  3. バージョン 2.10.8 をダウンロードする

    新しいバージョンは,うまくインストールできない可能性がある.

  4. ダウンロードした .zip ファイルを展開(解凍)する.

    Windows での展開(解凍)に便利な 7-Zip: 別ページ »で説明

    [image]
  5. 展開(解凍)して出来たファイルは,分かりやすいディレクトリ(例えば,C:\QScintilla_gpl-2.10.8)に移す.

    [image]
  6. Visual Studio の x64 Native Tools コマンドプロンプトを起動

    ※ その起動は,Windows のスタートメニューで「Visual Studio 2022」の下の「x64 Native Tools Command Prompt for VS 2022」で起動する.(あるいは類似のものを探す)

    [image]

    「x64 Native Tools コマンドプロンプト (x64 Native Tools Command Prompt)」がないとき:

    C++ ビルドツール (Build Tools) のインストールを行うことで, 「x64 Native Tools コマンドプロンプト (x64 Native Tools Command Prompt)」がインストールされる.その手順は,別ページ »で説明

  7. 次のように操作する.
    cd Qt4Qt5
    qmake qscintilla.pro
    

    [image]
  8. 引き続き,次のように操作する.
    nmake -f Makefile.Debug
    nmake -f Makefile.Release
    

    [image]

    QURL に関するエラーが出たときは, C:\qt4.8.7\src\corelib\kernel\qmimedata.h の 47 行目に,次の行を追加すると解決する可能性がある.

    #include<QtCore/qurl.h>