MSHV: Difference between revisions

From Useful notes
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


<code>
<code>
apt install mingw-w64 qtbase5-dev libqt5websockets5-dev<br />
apt install mingw-w64 qtbase5-dev libqt5websockets5-dev libasound2-dev<br />
1. qmake MSHV_I686.pro "for 32Bit" or MSHV_x86_64.pro "for 64Bit"<br />
1. qmake MSHV_I686.pro "for 32Bit" or MSHV_x86_64.pro "for 64Bit"<br />
2. make<br />
2. make<br />

Revision as of 13:30, 15 August 2023

Qt 5.12.12

Installation

Debian / Raspbian

apt install mingw-w64 qtbase5-dev libqt5websockets5-dev libasound2-dev
1. qmake MSHV_I686.pro "for 32Bit" or MSHV_x86_64.pro "for 64Bit"
2. make

src/HvTxW/hvtxw.cpp

In src/HvTxW/hvtxw.cpp on line 2827 and 2828 change the following

    qint32 ftf[c_frq]=
        {
            1840,3573,3575,7074,7047,10136,10140,14074,14080,
            18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
        };

To the following

    qint32 ftf[c_frq]=
        {
            // 1840,3573,3575,7074,7047,10136,10140,14074,14080,
            // 18100,18104,21074,21140,24915,24919,28074,28180  //,40680,50313,50318,60074,70154,70159
        };

src/HvTxW/hvmultianswermodw.cpp

In src/HvTxW/hvmultianswermodw.cpp on line 1611 change

        {
            if (s_co_type==0)
                SBslots->setRange(1,2);
            else
                SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
        }

To the following

        {
            if (s_co_type==0)
                SBslots->setRange(1,5);
            else
                SBslots->setRange(1,1);//<- importent eu vhf only 1 slot needed
        }