Skip to content

Commit

Permalink
update to qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
cpboyd committed Aug 12, 2019
1 parent 3cd01a4 commit d6b79e9
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 146 deletions.
6 changes: 3 additions & 3 deletions gui_src/controlcenter.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <QtCore>
#include <QtGui>
#include <QtWidgets>

#include <sys/types.h>
#include <sys/socket.h>
Expand All @@ -22,6 +22,6 @@ ControlCenter::ControlCenter(QWidget *parent) : QWidget(parent)
list.clear();
list << "1" << "2" << "4" << "8" << "16" << "32" << "64" << "128";
cb7_numpkts->addItems(list);
rb7_enable->setChecked(FALSE); /* disabled by default for maximum performance */
rb7_disable->setChecked(TRUE); /* disabled by default for maximum performance */
rb7_enable->setChecked(false); /* disabled by default for maximum performance */
rb7_disable->setChecked(true); /* disabled by default for maximum performance */
}
2 changes: 1 addition & 1 deletion gui_src/controlcenter.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ HEADERS = ../include/controlcenter.h
FORMS = controlcenter.ui
SOURCES = controlcenter.cpp main.cpp fx2_download.cpp fx3_download.cpp streamer.cpp
LIBS += -L../lib -lcyusb -lusb-1.0
QT += network
QT += widgets network
TARGET = ../bin/cyusb_linux
2 changes: 1 addition & 1 deletion gui_src/fx2_download.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include <QtCore>
#include <QtGui>
#include <QtWidgets>

#include <stdio.h>
#include <unistd.h>
Expand Down
2 changes: 1 addition & 1 deletion gui_src/fx3_download.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

#include <QtCore>
#include <QtGui>
#include <QtWidgets>

#include <stdio.h>
#include <unistd.h>
Expand Down
Loading

0 comments on commit d6b79e9

Please sign in to comment.