Commit 158cd4b7 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Remove moc includes in cpp files as they're no longer required. Disable a few...

Remove moc includes in cpp files as they're no longer required. Disable a few connects that is causing a crash. KStars can run now albeit with many things disabled
parent 4b810c1a
......@@ -508,7 +508,7 @@ target_link_libraries(KStarsLib
Qt5::Svg
${ZLIB_LIBRARIES}
)
# qt4_automoc(kstars.h)
if(NOT WIN32)
target_link_libraries(KStarsLib m)
endif(NOT WIN32)
......
......@@ -244,4 +244,4 @@ void AddCatDialog::slotCreateCatalog() {
}
}
#include "addcatdialog.moc"
......@@ -77,4 +77,4 @@ void AddLinkDialog::changeDefaultDescription( int id ) {
}
}
#include "addlinkdialog.moc"
......@@ -1202,4 +1202,4 @@ LogWidget::LogWidget( QWidget *p ) : QFrame( p )
setupUi( this );
}
#include "detaildialog.moc"
......@@ -359,4 +359,4 @@ void FindDialog::slotDetails()
}
#include "finddialog.moc"
......@@ -175,4 +175,4 @@ void FocusDialog::activateAzAltPage() const {
fd->fdTab->setCurrentWidget( fd->aaTab );
fd->azBox->setFocus();
}
#include "focusdialog.moc"
......@@ -368,4 +368,4 @@ double TelescopeFL::computeFL() const {
unsigned int FOVDialog::currentItem() const { return fov->FOVListBox->currentRow(); }
#include "fovdialog.moc"
......@@ -449,4 +449,3 @@ void LocationDialog::slotOk() {
bool LocationDialog::addCityEnabled() { return ui->AddCityButton->isEnabled(); }
#include "locationdialog.moc"
......@@ -115,4 +115,4 @@ KStarsDateTime TimeDialog::selectedDateTime( void ) {
return KStarsDateTime( selectedDate(), selectedTime() );
}
#include "timedialog.moc"
......@@ -1198,4 +1198,4 @@ void Align::loadFITS()
}
#include "align.moc"
......@@ -24,4 +24,4 @@ AstrometryParser::~AstrometryParser()
}
#include "astrometryparser.moc"
......@@ -1690,4 +1690,4 @@ void Capture::constructPrefix(QString &imagePrefix)
}
#include "capture.moc"
......@@ -1362,4 +1362,4 @@ bool EkosManager::isRunning(const QString &process)
}
#include "ekosmanager.moc"
......@@ -1263,4 +1263,4 @@ void Focus::setInSequenceFocus(bool autoFocusComplete)
}
#include "focus.moc"
......@@ -596,4 +596,4 @@ void Guide::setSuspended(bool enable)
}
#include "guide.moc"
......@@ -1171,5 +1171,5 @@ void cproc_out_params::reset( void )
}
#include "gmath.moc"
......@@ -287,5 +287,5 @@ void OfflineAstrometryParser::logSolver()
}
#include "offlineastrometryparser.moc"
......@@ -480,4 +480,4 @@ void OnlineAstrometryParser::onResult(QNetworkReply* reply)
}
#include "onlineastrometryparser.moc"
......@@ -52,4 +52,4 @@ void OpsEkos::slotCancel()
{
}
#include "opsekos.moc"
......@@ -424,4 +424,4 @@ QString FITSHistogramCommand::text() const
}
#include "fitshistogram.moc"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment