<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<link:linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationDetails" xlink:href="qlys-20191231.xsd#BusinessCombinationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationNotes" xlink:href="qlys-20191231.xsd#BusinessCombinationNotes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:href="qlys-20191231.xsd#BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/BusinessCombinationTables" xlink:href="qlys-20191231.xsd#BusinessCombinationTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:href="qlys-20191231.xsd#CommitmentsAndContingencies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:href="qlys-20191231.xsd#CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:href="qlys-20191231.xsd#CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesLeasesDetails" xlink:href="qlys-20191231.xsd#CommitmentsAndContingenciesLeasesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesPurchaseObligationsDetails" xlink:href="qlys-20191231.xsd#CommitmentsAndContingenciesPurchaseObligationsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:href="qlys-20191231.xsd#CommitmentsAndContingenciesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CommitmentsAndContingenciesWeightedAverageRemainingLeaseTermAndDiscountRateDetails" xlink:href="qlys-20191231.xsd#CommitmentsAndContingenciesWeightedAverageRemainingLeaseTermAndDiscountRateDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:href="qlys-20191231.xsd#CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:href="qlys-20191231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesNonMarketableSecuritiesDetails" xlink:href="qlys-20191231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesNonMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:href="qlys-20191231.xsd#CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedBalanceSheets" xlink:href="qlys-20191231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="qlys-20191231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="qlys-20191231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="qlys-20191231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncomeConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:href="qlys-20191231.xsd#ConsolidatedStatementsOfComprehensiveIncomeConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfOperations" xlink:href="qlys-20191231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="qlys-20191231.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:href="qlys-20191231.xsd#DocumentAndEntityInformation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeBenefitsPlan" xlink:href="qlys-20191231.xsd#EmployeeBenefitsPlan" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/EmployeeBenefitsPlanDetails" xlink:href="qlys-20191231.xsd#EmployeeBenefitsPlanDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstruments" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsShortTermAndLongTermMarketableSecuritiesDetails" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsCashAndCashEquivalentsShortTermAndLongTermMarketableSecuritiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativeGainsLossesByIncomeStatementLocationDetails" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsDerivativeGainsLossesByIncomeStatementLocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativesByBalanceSheetLocationDetails" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsDerivativesByBalanceSheetLocationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsNarrativeDetails" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:href="qlys-20191231.xsd#FairValueOfFinancialInstrumentsTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:href="qlys-20191231.xsd#GoodwillAndIntangibleAssetsNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetDetails" xlink:href="qlys-20191231.xsd#GoodwillAndIntangibleAssetsNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:href="qlys-20191231.xsd#GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetGoodwillRollforwardDetails" xlink:href="qlys-20191231.xsd#GoodwillAndIntangibleAssetsNetGoodwillRollforwardDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:href="qlys-20191231.xsd#GoodwillAndIntangibleAssetsNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxes" xlink:href="qlys-20191231.xsd#IncomeTaxes" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:href="qlys-20191231.xsd#IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:href="qlys-20191231.xsd#IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesNarrativeDetails" xlink:href="qlys-20191231.xsd#IncomeTaxesNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:href="qlys-20191231.xsd#IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesTables" xlink:href="qlys-20191231.xsd#IncomeTaxesTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:href="qlys-20191231.xsd#IncomeTaxesTaxRateReconciliationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="qlys-20191231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholders" xlink:href="qlys-20191231.xsd#NetIncomePerShareAttributableToCommonStockholders" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:href="qlys-20191231.xsd#NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersTables" xlink:href="qlys-20191231.xsd#NetIncomePerShareAttributableToCommonStockholdersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:href="qlys-20191231.xsd#PropertyAndEquipmentNet" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:href="qlys-20191231.xsd#PropertyAndEquipmentNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:href="qlys-20191231.xsd#PropertyAndEquipmentNetTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnaudited" xlink:href="qlys-20191231.xsd#QuarterlyFinancialInformationUnaudited" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:href="qlys-20191231.xsd#QuarterlyFinancialInformationUnauditedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:href="qlys-20191231.xsd#QuarterlyFinancialInformationUnauditedTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomers" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersRemainingPerformanceObligationDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersRemainingPerformanceObligationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:href="qlys-20191231.xsd#RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:href="qlys-20191231.xsd#ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:href="qlys-20191231.xsd#ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:href="qlys-20191231.xsd#SegmentInformationAndInformationAboutGeographicArea" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:href="qlys-20191231.xsd#SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:href="qlys-20191231.xsd#SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensation" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensation" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationCommonStockAndPreferredStockDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationCommonStockAndPreferredStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationExpenseDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationFairValueAssumptionsStockOptionsDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationFairValueAssumptionsStockOptionsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationOptionsOutstandingAndVestedDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationOptionsOutstandingAndVestedDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationPerformanceBasedStockOptionsAndRestrictedStockUnitsDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationPerformanceBasedStockOptionsAndRestrictedStockUnitsDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationPlanInformationDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationPlanInformationDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationRestrictedStockDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationRestrictedStockDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationShareRepurchaseProgramDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationShareRepurchaseProgramDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationStockOptionActivityDetails" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationStockOptionActivityDetails" xlink:type="simple" />
  <link:roleRef roleURI="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationTables" xlink:href="qlys-20191231.xsd#StockholdersEquityAndStockBasedCompensationTables" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FCB779FFCDE19B3945D36716670A87D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FCB779FFCDE19B3945D36716670A87D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7E84774EFD26FDE954113688A1E2FB56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FCB779FFCDE19B3945D36716670A87D" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7E84774EFD26FDE954113688A1E2FB56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D169B28A05D2A7F183963688A1E92E51_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7E84774EFD26FDE954113688A1E2FB56" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D169B28A05D2A7F183963688A1E92E51_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D169B28A05D2A7F183963688A1E92E51" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_7E84774EFD26FDE954113688A1E2FB56" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_D169B28A05D2A7F183963688A1E92E51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_12177A81B3F2F304660F36716671F40D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4FCB779FFCDE19B3945D36716670A87D" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_12177A81B3F2F304660F36716671F40D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_12177A81B3F2F304660F36716671F40D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_12177A81B3F2F304660F36716671F40D" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AdyaInc.Member" xlink:label="loc_qlys_AdyaInc.Member_B428C573BC17B0ADB90A36819D48F2C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:to="loc_qlys_AdyaInc.Member_B428C573BC17B0ADB90A36819D48F2C8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LayeredInsightsMember" xlink:label="loc_qlys_LayeredInsightsMember_1F1C50DF9596914E8DC93671667217B8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:to="loc_qlys_LayeredInsightsMember_1F1C50DF9596914E8DC93671667217B8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_A5C7ADC6CBDE9A7514D836716672B7A4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:to="loc_qlys_A1MobilityMember_A5C7ADC6CBDE9A7514D836716672B7A4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_NevisNetworksPrivateLimitedMember" xlink:label="loc_qlys_NevisNetworksPrivateLimitedMember_19399468EFAE61AE234136716672BB48" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:to="loc_qlys_NevisNetworksPrivateLimitedMember_19399468EFAE61AE234136716672BB48" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_DefensativeLLCNetWatcherMember" xlink:label="loc_qlys_DefensativeLLCNetWatcherMember_51143F9D6991948431CD36716672B4AB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_B2B5ED968B09D213ACA436716672206B" xlink:to="loc_qlys_DefensativeLLCNetWatcherMember_51143F9D6991948431CD36716672B4AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_C2DCB2F9B898ECB81FE13676A2EEC41C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_C2DCB2F9B898ECB81FE13676A2EEC41C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_BusinessCombinationContingentConsiderationArrangementsPeriodBeforeDue" xlink:label="loc_qlys_BusinessCombinationContingentConsiderationArrangementsPeriodBeforeDue_9287D096DBF6898F46C23679448DD389" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_qlys_BusinessCombinationContingentConsiderationArrangementsPeriodBeforeDue_9287D096DBF6898F46C23679448DD389" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_23E5490AD2D7E7AE63AB36716672B42B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_23E5490AD2D7E7AE63AB36716672B42B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_5427E6E68890E0E50214367166728C63" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_Goodwill_5427E6E68890E0E50214367166728C63" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_CB1B75C2502DCA31028F36716672E042" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_CB1B75C2502DCA31028F36716672E042" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferredOther1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferredOther1_66BC17D5F5B604F7D75636716672B0B1" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferredOther1_66BC17D5F5B604F7D75636716672B0B1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_BusinessCombinationAdditionalConsideration" xlink:label="loc_qlys_BusinessCombinationAdditionalConsideration_2B022D9CEE861DB359DE36716672D42A" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_qlys_BusinessCombinationAdditionalConsideration_2B022D9CEE861DB359DE36716672D42A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_BusinessCombinationEarnoutMilestone" xlink:label="loc_qlys_BusinessCombinationEarnoutMilestone_658FC53CD37634CA9D093690C4B50467" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_qlys_BusinessCombinationEarnoutMilestone_658FC53CD37634CA9D093690C4B50467" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary" xlink:label="loc_qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary_51DDB344C2EF0EDD2BC7367166727075" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_qlys_FuturePaymentsForContinuedEmploymentFirstAnniversary_51DDB344C2EF0EDD2BC7367166727075" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary" xlink:label="loc_qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary_EEA0AEB44D354052C74B36716672597A" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_qlys_FuturePaymentsForContinuedEmploymentSecondAnniversary_EEA0AEB44D354052C74B36716672597A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_45066B790CD99FF91B6036716672FD2F" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_EBEA79CD4AD77F3B5EDE36716672CF1E" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_45066B790CD99FF91B6036716672FD2F" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationNotes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationScheduleOfConsiderationAllocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C90897679B77DE2E71D5367166657B10" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C90897679B77DE2E71D5367166657B10" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_3F9248EEEF88287EB578367166658899" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_C90897679B77DE2E71D5367166657B10" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_3F9248EEEF88287EB578367166658899" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3F9248EEEF88287EB578367166658899" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_3F9248EEEF88287EB578367166658899" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AdyaInc.Member" xlink:label="loc_qlys_AdyaInc.Member_8F975565943D144B0D2E36816DBD07B4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:to="loc_qlys_AdyaInc.Member_8F975565943D144B0D2E36816DBD07B4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_38FB90BFC69FA4E46DB0367166650161" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:to="loc_qlys_A1MobilityMember_38FB90BFC69FA4E46DB0367166650161" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LayeredInsightsMember" xlink:label="loc_qlys_LayeredInsightsMember_6AF891458B97E847DA8D36716665B660" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:to="loc_qlys_LayeredInsightsMember_6AF891458B97E847DA8D36716665B660" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_NevisNetworksPrivateLimitedMember" xlink:label="loc_qlys_NevisNetworksPrivateLimitedMember_1F88598D946E4D764CBD3671666871C1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:to="loc_qlys_NevisNetworksPrivateLimitedMember_1F88598D946E4D764CBD3671666871C1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_DefensativeLLCNetWatcherMember" xlink:label="loc_qlys_DefensativeLLCNetWatcherMember_CB8B5545EF0AE084D36B36716668EE44" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_A87E67E7CA195B47A70F36716665AC59" xlink:to="loc_qlys_DefensativeLLCNetWatcherMember_CB8B5545EF0AE084D36B36716668EE44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4423725A11023DDE0FAD36716668A2D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_4423725A11023DDE0FAD36716668A2D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_80C7E5DA1FC68D0955FF36716669089B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNet_80C7E5DA1FC68D0955FF36716669089B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_033D824E39408E0E7C11367166691796" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_033D824E39408E0E7C11367166691796" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_844B72373CE19EA8A7A8367166696AC1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:to="loc_us-gaap_Goodwill_844B72373CE19EA8A7A8367166696AC1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_F83FC8D90B998F2648153685D03D6FC0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_71A1D0FD5987FBE3FAC93671666822B0" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedDeferredTaxLiabilities_F83FC8D90B998F2648153685D03D6FC0" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/BusinessCombinationTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingencies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeasedAssetsLineItems" xlink:label="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfOperatingLeasedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_654D9EF909CDF18FACFF5E780DCE4970" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_654D9EF909CDF18FACFF5E780DCE4970" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_2903C6FAC49F07141CD55E780DCECF83" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_654D9EF909CDF18FACFF5E780DCE4970" xlink:to="loc_dei_LegalEntityAxis_2903C6FAC49F07141CD55E780DCECF83" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_A37E17677C470300DA985E8803D0A3F3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_2903C6FAC49F07141CD55E780DCECF83" xlink:to="loc_dei_EntityDomain_A37E17677C470300DA985E8803D0A3F3_default" xlink:type="arc" />
    <link:loc xlink:href="https://xbrl.sec.gov/dei/2019/dei-2019-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_A37E17677C470300DA985E8803D0A3F3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_2903C6FAC49F07141CD55E780DCECF83" xlink:to="loc_dei_EntityDomain_A37E17677C470300DA985E8803D0A3F3" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_PuneIndiaDomain" xlink:label="loc_qlys_PuneIndiaDomain_5A60F2C3A8AE041BE4E45E780DCFC5AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_A37E17677C470300DA985E8803D0A3F3" xlink:to="loc_qlys_PuneIndiaDomain_5A60F2C3A8AE041BE4E45E780DCFC5AD" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_PuneIndiaMember" xlink:label="loc_qlys_PuneIndiaMember_18F89207E9F7206611665E780DCFE5BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_PuneIndiaDomain_5A60F2C3A8AE041BE4E45E780DCFC5AD" xlink:to="loc_qlys_PuneIndiaMember_18F89207E9F7206611665E780DCFE5BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseArrangementTypeAxis" xlink:label="loc_us-gaap_LeaseArrangementTypeAxis_D29B65215B562C257E725E780DCF4288" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfOperatingLeasedAssetsTable_654D9EF909CDF18FACFF5E780DCE4970" xlink:to="loc_us-gaap_LeaseArrangementTypeAxis_D29B65215B562C257E725E780DCF4288" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_051494DABFC9C67C03A15E780DCF58BF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_D29B65215B562C257E725E780DCF4288" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_051494DABFC9C67C03A15E780DCF58BF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseArrangementTypeDomain" xlink:label="loc_us-gaap_LeaseArrangementTypeDomain_051494DABFC9C67C03A15E780DCF58BF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LeaseArrangementTypeAxis_D29B65215B562C257E725E780DCF4288" xlink:to="loc_us-gaap_LeaseArrangementTypeDomain_051494DABFC9C67C03A15E780DCF58BF" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LeaseAgreementForHeadquartersMember" xlink:label="loc_qlys_LeaseAgreementForHeadquartersMember_C93AA81ACF436C56F8A45E780DD063B9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LeaseArrangementTypeDomain_051494DABFC9C67C03A15E780DCF58BF" xlink:to="loc_qlys_LeaseAgreementForHeadquartersMember_C93AA81ACF436C56F8A45E780DD063B9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LeaseExpense" xlink:label="loc_qlys_LeaseExpense_D3C188D08D29B1D93E9C5E780DD0D14A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_qlys_LeaseExpense_D3C188D08D29B1D93E9C5E780DD0D14A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinanceLeaseLiability" xlink:label="loc_us-gaap_FinanceLeaseLiability_D6F0D309E0AF76E392B95E780DD19C62" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_us-gaap_FinanceLeaseLiability_D6F0D309E0AF76E392B95E780DD19C62" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_CapitalLeasedAssetsInterestRate" xlink:label="loc_qlys_CapitalLeasedAssetsInterestRate_8950C874A282A1FB95E95E780DD16D10" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_qlys_CapitalLeasedAssetsInterestRate_8950C874A282A1FB95E95E780DD16D10" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LeaseOfficeBuildingSquareFeet" xlink:label="loc_qlys_LeaseOfficeBuildingSquareFeet_2ADF3B7D0280A3FC5E5F5E780DD18AE3" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_qlys_LeaseOfficeBuildingSquareFeet_2ADF3B7D0280A3FC5E5F5E780DD18AE3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeOperatingLeaseTermOfContract" xlink:label="loc_us-gaap_LesseeOperatingLeaseTermOfContract_DC37B39E819027E967D85E780DD1F983" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_us-gaap_LesseeOperatingLeaseTermOfContract_DC37B39E819027E967D85E780DD1F983" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability" xlink:label="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_2B811CA64DB511344FFD5E780DD17F43" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_us-gaap_RightOfUseAssetObtainedInExchangeForOperatingLeaseLiability_2B811CA64DB511344FFD5E780DD17F43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseAndRentalExpense" xlink:label="loc_us-gaap_LeaseAndRentalExpense_129221D6B546930456185E780DD14621" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLeasedAssetsLineItems_D2ED44C9D6306C7C6A1F5E780DD01726" xlink:to="loc_us-gaap_LeaseAndRentalExpense_129221D6B546930456185E780DD14621" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesFutureMinimumLeasePaymentsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesLeasesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeLeaseDescriptionLineItems" xlink:label="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LesseeLeaseDescriptionTable" xlink:label="loc_us-gaap_LesseeLeaseDescriptionTable_EF3B8BB49EBC6A1E35075BE99CA3856D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_LesseeLeaseDescriptionTable_EF3B8BB49EBC6A1E35075BE99CA3856D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_88AEA68BADCA71CDD9285BE99CA31788" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LesseeLeaseDescriptionTable_EF3B8BB49EBC6A1E35075BE99CA3856D" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_88AEA68BADCA71CDD9285BE99CA31788" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_B052A1BADC64D46E90435BE99CA37E28_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_88AEA68BADCA71CDD9285BE99CA31788" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_B052A1BADC64D46E90435BE99CA37E28_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_B052A1BADC64D46E90435BE99CA37E28" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_88AEA68BADCA71CDD9285BE99CA31788" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_B052A1BADC64D46E90435BE99CA37E28" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherNoncurrentLiabilitiesMember" xlink:label="loc_us-gaap_OtherNoncurrentLiabilitiesMember_603768CECE9D26869C985BE99CA42BF7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_B052A1BADC64D46E90435BE99CA37E28" xlink:to="loc_us-gaap_OtherNoncurrentLiabilitiesMember_603768CECE9D26869C985BE99CA42BF7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_12ED8FD9992D6B6C9AC75BE99CA4E86A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_12ED8FD9992D6B6C9AC75BE99CA4E86A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_2A144511FEE332962E2B5BE99CA4E0DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_2A144511FEE332962E2B5BE99CA4E0DB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LeaseRightofUseAsset" xlink:label="loc_qlys_LeaseRightofUseAsset_967395B877594BB2F39B5BE99CA4A311" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_qlys_LeaseRightofUseAsset_967395B877594BB2F39B5BE99CA4A311" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiabilityCurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_6FAEDE7F8C55EFC697295BE99CA5172A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_6FAEDE7F8C55EFC697295BE99CA5172A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinanceLeaseLiabilityCurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityCurrent_C337EF5DABDCB0B5267E5BE99CA52EA7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_FinanceLeaseLiabilityCurrent_C337EF5DABDCB0B5267E5BE99CA52EA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_D315648D518165B979295BE99CA5C17D" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_D315648D518165B979295BE99CA5C17D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinanceLeaseLiabilityNoncurrent" xlink:label="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_0EA330116F3983C3DE325BE99CA52061" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_us-gaap_FinanceLeaseLiabilityNoncurrent_0EA330116F3983C3DE325BE99CA52061" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LeaseLiability" xlink:label="loc_qlys_LeaseLiability_D65B89C1BB901ECA77335BE99CA53BEF" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LesseeLeaseDescriptionLineItems_526D66991CE151CCDF705BE99CA49C18" xlink:to="loc_qlys_LeaseLiability_D65B89C1BB901ECA77335BE99CA53BEF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesPurchaseObligationsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CommitmentsAndContingenciesWeightedAverageRemainingLeaseTermAndDiscountRateDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerAxis" xlink:label="loc_invest_InvestmentIssuerAxis_099F2EE496301973B93A63C9CD06E707" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_invest_InvestmentIssuerAxis_099F2EE496301973B93A63C9CD06E707" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_ECD5A4105C748F7E5A2F63C9CD07E2ED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_invest_InvestmentIssuerAxis_099F2EE496301973B93A63C9CD06E707" xlink:to="loc_invest_InvestmentIssuerDomain_ECD5A4105C748F7E5A2F63C9CD07E2ED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_ECD5A4105C748F7E5A2F63C9CD07E2ED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_invest_InvestmentIssuerAxis_099F2EE496301973B93A63C9CD06E707" xlink:to="loc_invest_InvestmentIssuerDomain_ECD5A4105C748F7E5A2F63C9CD07E2ED" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_PrivatelyheldcompaniesMember" xlink:label="loc_qlys_PrivatelyheldcompaniesMember_A3398E3E7236B3A5927163C9CD078714" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_invest_InvestmentIssuerDomain_ECD5A4105C748F7E5A2F63C9CD07E2ED" xlink:to="loc_qlys_PrivatelyheldcompaniesMember_A3398E3E7236B3A5927163C9CD078714" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_A6AE5C944CB25AA226B463C9CD0795C0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_InvestmentTypeAxis_A6AE5C944CB25AA226B463C9CD0795C0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_E0759F006C04F15164F363C9CD07E8A3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_A6AE5C944CB25AA226B463C9CD0795C0" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_E0759F006C04F15164F363C9CD07E8A3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_E0759F006C04F15164F363C9CD07E8A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_A6AE5C944CB25AA226B463C9CD0795C0" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_E0759F006C04F15164F363C9CD07E8A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_60E28BE127374A7C656263C9CD08892F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_E0759F006C04F15164F363C9CD07E8A3" xlink:to="loc_us-gaap_PreferredStockMember_60E28BE127374A7C656263C9CD08892F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtSecuritiesMember" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_FFB480818B1BDAF8E81163C9CD088561" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_E0759F006C04F15164F363C9CD07E8A3" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_FFB480818B1BDAF8E81163C9CD088561" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_590157012F2746711DAF63C9CD083A77" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_590157012F2746711DAF63C9CD083A77" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_72B18C63D622D3D5335763C9CD08DEE5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_590157012F2746711DAF63C9CD083A77" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_72B18C63D622D3D5335763C9CD08DEE5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain" xlink:label="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_72B18C63D622D3D5335763C9CD08DEE5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredCompensationArrangementWithIndividualShareBasedPaymentsByTypeOfDeferredCompensationAxis_590157012F2746711DAF63C9CD083A77" xlink:to="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_72B18C63D622D3D5335763C9CD08DEE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredCompensationShareBasedPaymentsMember" xlink:label="loc_us-gaap_DeferredCompensationShareBasedPaymentsMember_9D91969A9BF07B998D7363C9CD097DD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityBasedArrangementsIndividualContractsTypeOfDeferredCompensationDomain_72B18C63D622D3D5335763C9CD08DEE5" xlink:to="loc_us-gaap_DeferredCompensationShareBasedPaymentsMember_9D91969A9BF07B998D7363C9CD097DD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_0F7E3019DE88BA9B8B3463C9CD09C9EC" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_0F7E3019DE88BA9B8B3463C9CD09C9EC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_947134BB0AFB11F20D2863C9CD09C260_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_0F7E3019DE88BA9B8B3463C9CD09C9EC" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_947134BB0AFB11F20D2863C9CD09C260_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_947134BB0AFB11F20D2863C9CD09C260" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_0F7E3019DE88BA9B8B3463C9CD09C9EC" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_947134BB0AFB11F20D2863C9CD09C260" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_E84AA06E69118F96883B63C9CD09D558" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_947134BB0AFB11F20D2863C9CD09C260" xlink:to="loc_us-gaap_SubsequentEventMember_E84AA06E69118F96883B63C9CD09D558" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_41584F035938A937F5DB63C9CD09BBDD" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_41584F035938A937F5DB63C9CD09BBDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_CB2A3B79A2FDA805C01A63C9CD0A1DAC_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_41584F035938A937F5DB63C9CD09BBDD" xlink:to="loc_us-gaap_TypeOfAdoptionMember_CB2A3B79A2FDA805C01A63C9CD0A1DAC_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_CB2A3B79A2FDA805C01A63C9CD0A1DAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_41584F035938A937F5DB63C9CD09BBDD" xlink:to="loc_us-gaap_TypeOfAdoptionMember_CB2A3B79A2FDA805C01A63C9CD0A1DAC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_F367C811B4A513A0754063C9CD0A1771" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_CB2A3B79A2FDA805C01A63C9CD0A1DAC" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_F367C811B4A513A0754063C9CD0A1771" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_C8E094D0B9D4134A0CB663C9CD0ACF42" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_C8E094D0B9D4134A0CB663C9CD0ACF42" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_72234ABC19A9DE64FB9063C9CD0A070B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_C8E094D0B9D4134A0CB663C9CD0ACF42" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_72234ABC19A9DE64FB9063C9CD0A070B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_72234ABC19A9DE64FB9063C9CD0A070B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_C8E094D0B9D4134A0CB663C9CD0ACF42" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_72234ABC19A9DE64FB9063C9CD0A070B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_EF685C998CAEF5D8A9AE63C9CD0BC2AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_72234ABC19A9DE64FB9063C9CD0A070B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_EF685C998CAEF5D8A9AE63C9CD0BC2AD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_FE93D8D85F941944419F63C9CD0B882A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_72234ABC19A9DE64FB9063C9CD0A070B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_FE93D8D85F941944419F63C9CD0B882A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_8C8E2E93F0498D423C6963C9CD0B96F8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_StatementScenarioAxis_8C8E2E93F0498D423C6963C9CD0B96F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_42AE88E379EA731ABC4A63C9CD0BCE82_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_8C8E2E93F0498D423C6963C9CD0B96F8" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_42AE88E379EA731ABC4A63C9CD0BCE82_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_42AE88E379EA731ABC4A63C9CD0BCE82" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_8C8E2E93F0498D423C6963C9CD0B96F8" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_42AE88E379EA731ABC4A63C9CD0BCE82" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScenarioForecastMember" xlink:label="loc_us-gaap_ScenarioForecastMember_BCBC29C594227E60C56763C9CD0C8479" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScenarioUnspecifiedDomain_42AE88E379EA731ABC4A63C9CD0BCE82" xlink:to="loc_us-gaap_ScenarioForecastMember_BCBC29C594227E60C56763C9CD0C8479" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_9AC259AF43632381092063C9CD0C03F4" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_9AC259AF43632381092063C9CD0C03F4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E0902F67E39C18F0405F63C9CD0C0B88_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9AC259AF43632381092063C9CD0C03F4" xlink:to="loc_us-gaap_EquityComponentDomain_E0902F67E39C18F0405F63C9CD0C0B88_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_E0902F67E39C18F0405F63C9CD0C0B88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_9AC259AF43632381092063C9CD0C03F4" xlink:to="loc_us-gaap_EquityComponentDomain_E0902F67E39C18F0405F63C9CD0C0B88" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_ACE213999747DE75FD2E63C9CD0CAFC2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_E0902F67E39C18F0405F63C9CD0C0B88" xlink:to="loc_us-gaap_RetainedEarningsMember_ACE213999747DE75FD2E63C9CD0CAFC2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByTypeAxis" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_DDFD8BD72EAE7E4C9FCC63C9CD0CBFB8" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_DDFD8BD72EAE7E4C9FCC63C9CD0CBFB8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_7236DC360EACEEC70B1763C9CD0DF488_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_DDFD8BD72EAE7E4C9FCC63C9CD0CBFB8" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_7236DC360EACEEC70B1763C9CD0DF488_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskTypeDomain" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_7236DC360EACEEC70B1763C9CD0DF488" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_DDFD8BD72EAE7E4C9FCC63C9CD0CBFB8" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_7236DC360EACEEC70B1763C9CD0DF488" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CustomerConcentrationRiskMember" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_ACB564393A36493DDC9563C9CD0DEF32" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_7236DC360EACEEC70B1763C9CD0DF488" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_ACB564393A36493DDC9563C9CD0DEF32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_304F7311A72AEE8BE27063C9CD0D4442" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_304F7311A72AEE8BE27063C9CD0D4442" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_78D756C2EB0FE0CB922C63C9CD0D51B1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_304F7311A72AEE8BE27063C9CD0D4442" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_78D756C2EB0FE0CB922C63C9CD0D51B1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConcentrationRiskBenchmarkDomain" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_78D756C2EB0FE0CB922C63C9CD0D51B1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_304F7311A72AEE8BE27063C9CD0D4442" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_78D756C2EB0FE0CB922C63C9CD0D51B1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountsReceivableMember" xlink:label="loc_us-gaap_AccountsReceivableMember_3A6BB93D71C65939902663C9CD0EC6C8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_78D756C2EB0FE0CB922C63C9CD0D51B1" xlink:to="loc_us-gaap_AccountsReceivableMember_3A6BB93D71C65939902663C9CD0EC6C8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_131DBCB35794B85B147B63C9CD0E9AE8" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_131DBCB35794B85B147B63C9CD0E9AE8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5BB319D95130F85E274863C9CD0EEFA1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_131DBCB35794B85B147B63C9CD0E9AE8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5BB319D95130F85E274863C9CD0EEFA1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5BB319D95130F85E274863C9CD0EEFA1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_131DBCB35794B85B147B63C9CD0E9AE8" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5BB319D95130F85E274863C9CD0EEFA1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SoftwareAndSoftwareDevelopmentCostsMember" xlink:label="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_22B709414D5F93E869BB63C9CD0E214C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_5BB319D95130F85E274863C9CD0EEFA1" xlink:to="loc_us-gaap_SoftwareAndSoftwareDevelopmentCostsMember_22B709414D5F93E869BB63C9CD0E214C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_1355D17A0938C9BBDA8F63C9CD0F3DC3" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_1355D17A0938C9BBDA8F63C9CD0F3DC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_55622BACE427D7A045D163C9CD0FCA5D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1355D17A0938C9BBDA8F63C9CD0F3DC3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_55622BACE427D7A045D163C9CD0FCA5D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_55622BACE427D7A045D163C9CD0FCA5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_1355D17A0938C9BBDA8F63C9CD0F3DC3" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_55622BACE427D7A045D163C9CD0FCA5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_71CA2759B2C1E0816CDA63C9CD0F02E4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_55622BACE427D7A045D163C9CD0FCA5D" xlink:to="loc_us-gaap_ForeignExchangeContractMember_71CA2759B2C1E0816CDA63C9CD0F02E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_8C44BAEFAE0C2CFB799F63C9CD0F5368" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_55622BACE427D7A045D163C9CD0FCA5D" xlink:to="loc_us-gaap_ForwardContractsMember_8C44BAEFAE0C2CFB799F63C9CD0F5368" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9A5CF83733C346C48E8863C9CD0F4ACC" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9A5CF83733C346C48E8863C9CD0F4ACC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D2781AD9B03C28BF8E0D63C9CD0FC9A5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9A5CF83733C346C48E8863C9CD0F4ACC" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D2781AD9B03C28BF8E0D63C9CD0FC9A5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D2781AD9B03C28BF8E0D63C9CD0FC9A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_9A5CF83733C346C48E8863C9CD0F4ACC" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D2781AD9B03C28BF8E0D63C9CD0FC9A5" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_5A2C67384E74F5A5C8DA63C9CD10075A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_D2781AD9B03C28BF8E0D63C9CD0FC9A5" xlink:to="loc_qlys_ScannerAppliancesMember_5A2C67384E74F5A5C8DA63C9CD10075A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_4B9FCE2212D8CD8D127363C9CD10BA1B" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_A5FFCDB21069A6C3440D63C9CD018A62" xlink:to="loc_srt_RangeAxis_4B9FCE2212D8CD8D127363C9CD10BA1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_7B8A6F5D2B7D6AAFFA4263C9CD10C141_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_4B9FCE2212D8CD8D127363C9CD10BA1B" xlink:to="loc_srt_RangeMember_7B8A6F5D2B7D6AAFFA4263C9CD10C141_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_7B8A6F5D2B7D6AAFFA4263C9CD10C141" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_4B9FCE2212D8CD8D127363C9CD10BA1B" xlink:to="loc_srt_RangeMember_7B8A6F5D2B7D6AAFFA4263C9CD10C141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_3BA3985F76C93A8E6C8963C9CD117B54" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7B8A6F5D2B7D6AAFFA4263C9CD10C141" xlink:to="loc_srt_MinimumMember_3BA3985F76C93A8E6C8963C9CD117B54" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_D8A943D320BA4925ED5F63C9CD11C172" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_7B8A6F5D2B7D6AAFFA4263C9CD10C141" xlink:to="loc_srt_MaximumMember_D8A943D320BA4925ED5F63C9CD11C172" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InternalUseSoftwarePolicy" xlink:label="loc_us-gaap_InternalUseSoftwarePolicy_B55E83B516EF2BD702AE63C9CD112F8B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_InternalUseSoftwarePolicy_B55E83B516EF2BD702AE63C9CD112F8B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_4FFF5BC722D3BA688F3763C9CD11C1A7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_NumberOfOperatingSegments_4FFF5BC722D3BA688F3763C9CD11C1A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_FC51D1FA5A5C9D06BCC663C9CD12C2B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_FC51D1FA5A5C9D06BCC663C9CD12C2B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_BCB7B9CD326A3FDA7A3F63C9CD123FF1" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet_BCB7B9CD326A3FDA7A3F63C9CD123FF1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2673FF16C4B617E6D4F663C9CD122E66" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_2673FF16C4B617E6D4F663C9CD122E66" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalizedComputerSoftwareGross" xlink:label="loc_us-gaap_CapitalizedComputerSoftwareGross_A87F4C4DA2F6BF52882763C9CD120163" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_CapitalizedComputerSoftwareGross_A87F4C4DA2F6BF52882763C9CD120163" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_CapitalizedComputerSoftwareUnamortized" xlink:label="loc_qlys_CapitalizedComputerSoftwareUnamortized_2257E1EB9A6038F44E6963C9CD12E9FC" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_qlys_CapitalizedComputerSoftwareUnamortized_2257E1EB9A6038F44E6963C9CD12E9FC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LongTermInvestments" xlink:label="loc_us-gaap_LongTermInvestments_1605DD2F1346A760948463C9CD17E7C2" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_LongTermInvestments_1605DD2F1346A760948463C9CD17E7C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_27025801459F7E7716BD63C9CD18EBBE" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_27025801459F7E7716BD63C9CD18EBBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfRevenue" xlink:label="loc_us-gaap_CostOfRevenue_8E94292894E3F646FF6063C9CD18A703" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_CostOfRevenue_8E94292894E3F646FF6063C9CD18A703" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_77A9ECC6C554EC69B15C63C9CD18FDCD" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_77A9ECC6C554EC69B15C63C9CD18FDCD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpense" xlink:label="loc_us-gaap_SellingAndMarketingExpense_D5C057EF138AF8A752B863C9CD18A160" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_SellingAndMarketingExpense_D5C057EF138AF8A752B863C9CD18A160" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ConcentrationOfCreditRiskAbstract" xlink:label="loc_qlys_ConcentrationOfCreditRiskAbstract_72464C7FFC712185E30463C9CD18B49E" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_qlys_ConcentrationOfCreditRiskAbstract_72464C7FFC712185E30463C9CD18B49E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ConcentrationRiskNumberOfCustomers" xlink:label="loc_qlys_ConcentrationRiskNumberOfCustomers_80ED385A3FD593203D4A63C9CD18EE0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ConcentrationOfCreditRiskAbstract_72464C7FFC712185E30463C9CD18B49E" xlink:to="loc_qlys_ConcentrationRiskNumberOfCustomers_80ED385A3FD593203D4A63C9CD18EE0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAbstract" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAbstract_ECCE8D9F5FAF2AF3304B63C9CD19EEB4" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAbstract_ECCE8D9F5FAF2AF3304B63C9CD19EEB4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_267046437E1842B3CB7363C9CD1995B5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentAbstract_ECCE8D9F5FAF2AF3304B63C9CD19EEB4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_267046437E1842B3CB7363C9CD1995B5" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_GoodwillAndIntangibleAssetsNetAbstract" xlink:label="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_7A5E241107D3FB9BCAEE63C9CD19C084" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_7A5E241107D3FB9BCAEE63C9CD19C084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_D4E2E9B63AB8B7A89BF263C9CD190A85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_GoodwillAndIntangibleAssetsNetAbstract_7A5E241107D3FB9BCAEE63C9CD19C084" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_D4E2E9B63AB8B7A89BF263C9CD190A85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentAbstract" xlink:label="loc_us-gaap_ResearchAndDevelopmentAbstract_34BF53481067ED219DB363C9CD1AD1DB" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_ResearchAndDevelopmentAbstract_34BF53481067ED219DB363C9CD1AD1DB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_CapitalizedSoftwareDevelopmentCosts" xlink:label="loc_qlys_CapitalizedSoftwareDevelopmentCosts_5A7C1C348DA3D937F30D63C9CD1A91C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_34BF53481067ED219DB363C9CD1AD1DB" xlink:to="loc_qlys_CapitalizedSoftwareDevelopmentCosts_5A7C1C348DA3D937F30D63C9CD1A91C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_30089C817778BF9441CF63C9CD1ADCFB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_34BF53481067ED219DB363C9CD1AD1DB" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_30089C817778BF9441CF63C9CD1ADCFB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_26F9A1265B1B8843721D63C9CD1AEF93" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ResearchAndDevelopmentAbstract_34BF53481067ED219DB363C9CD1AD1DB" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_26F9A1265B1B8843721D63C9CD1AEF93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SummaryOfDerivativeInstrumentsAbstract" xlink:label="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_5AB25AA2152253A7841263C9CD1AEE5E" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_5AB25AA2152253A7841263C9CD1AEE5E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_B9EF1CE5007865A1FA6E63C9CD1A0F19" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_5AB25AA2152253A7841263C9CD1AEE5E" xlink:to="loc_invest_DerivativeNotionalAmount_B9EF1CE5007865A1FA6E63C9CD1A0F19" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_7ADE3FB2F1443120320863C9CD1B07D6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_5AB25AA2152253A7841263C9CD1AEE5E" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_7ADE3FB2F1443120320863C9CD1B07D6" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_OtherForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_qlys_OtherForeignCurrencyTransactionGainLossBeforeTax_E98E1D3AA604F9E1D88B63C9CD1B9AF9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_5AB25AA2152253A7841263C9CD1AEE5E" xlink:to="loc_qlys_OtherForeignCurrencyTransactionGainLossBeforeTax_E98E1D3AA604F9E1D88B63C9CD1B9AF9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax" xlink:label="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_ED9F6723824C0C87DE4E63C9CD1BAB06" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SummaryOfDerivativeInstrumentsAbstract_5AB25AA2152253A7841263C9CD1AEE5E" xlink:to="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_ED9F6723824C0C87DE4E63C9CD1BAB06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MarketingAndAdvertisingExpenseAbstract" xlink:label="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_C962D7927960220FFE5C63C9CD1BF397" xlink:type="locator" />
    <link:definitionArc order="18" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_C962D7927960220FFE5C63C9CD1BF397" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdvertisingExpense" xlink:label="loc_us-gaap_AdvertisingExpense_234D6C939B8EBFB9546663C9CD1B6025" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketingAndAdvertisingExpenseAbstract_C962D7927960220FFE5C63C9CD1BF397" xlink:to="loc_us-gaap_AdvertisingExpense_234D6C939B8EBFB9546663C9CD1B6025" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxDisclosureAbstract" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:type="locator" />
    <link:definitionArc order="19" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_A877298A6D857332CD1E63C9CD1C3CD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_A877298A6D857332CD1E63C9CD1C3CD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_BDEB65F7DC5922A1061B63C9CD1CA4DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNetNoncurrent_BDEB65F7DC5922A1061B63C9CD1CA4DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_6E6DB1320DD1F985A27B63C9CD1CE133" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_6E6DB1320DD1F985A27B63C9CD1CE133" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_C0C855185F06EBF5D5D663C9CD1C1B8E" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_C0C855185F06EBF5D5D663C9CD1C1B8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsNoncurrent" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_591EDD5A6067965FD4AF63C9CD1D0AE5" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract_28E5D7B8EF14F0B01E9A63C9CD1C7775" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsNoncurrent_591EDD5A6067965FD4AF63C9CD1D0AE5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseRightOfUseAsset" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_4A106D790D2B2563F86063C9CD1D920C" xlink:type="locator" />
    <link:definitionArc order="20" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_4A106D790D2B2563F86063C9CD1D920C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLeaseLiability" xlink:label="loc_us-gaap_OperatingLeaseLiability_2992A21BEBD396AA74B063C9CD1DC19B" xlink:type="locator" />
    <link:definitionArc order="21" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_OperatingLeaseLiability_2992A21BEBD396AA74B063C9CD1DC19B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRentReceivablesNet" xlink:label="loc_us-gaap_DeferredRentReceivablesNet_425E38D5DEF21D5AD43563C9CD1DE87A" xlink:type="locator" />
    <link:definitionArc order="22" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_980B97B987A55D7A145363C9CD115B76" xlink:to="loc_us-gaap_DeferredRentReceivablesNet_425E38D5DEF21D5AD43563C9CD1DE87A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesNonMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SecurityOwnedNotReadilyMarketableLineItems" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableLineItems_496C8E1928B80DDA6BA763E55CD5868A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SecurityOwnedNotReadilyMarketableTable" xlink:label="loc_us-gaap_SecurityOwnedNotReadilyMarketableTable_CC73B96B851FDA6CC2F263E55CD3690A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableLineItems_496C8E1928B80DDA6BA763E55CD5868A" xlink:to="loc_us-gaap_SecurityOwnedNotReadilyMarketableTable_CC73B96B851FDA6CC2F263E55CD3690A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerAxis" xlink:label="loc_invest_InvestmentIssuerAxis_159CF847AA3675CA62FC63E55CD3C185" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableTable_CC73B96B851FDA6CC2F263E55CD3690A" xlink:to="loc_invest_InvestmentIssuerAxis_159CF847AA3675CA62FC63E55CD3C185" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_4C8EB36F3C5DF3B2560163E55CD3DB16_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_invest_InvestmentIssuerAxis_159CF847AA3675CA62FC63E55CD3C185" xlink:to="loc_invest_InvestmentIssuerDomain_4C8EB36F3C5DF3B2560163E55CD3DB16_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_4C8EB36F3C5DF3B2560163E55CD3DB16" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_invest_InvestmentIssuerAxis_159CF847AA3675CA62FC63E55CD3C185" xlink:to="loc_invest_InvestmentIssuerDomain_4C8EB36F3C5DF3B2560163E55CD3DB16" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_PrivatelyheldcompaniesMember" xlink:label="loc_qlys_PrivatelyheldcompaniesMember_7C7B2A6596BC998F4FD563E55CD4785F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_invest_InvestmentIssuerDomain_4C8EB36F3C5DF3B2560163E55CD3DB16" xlink:to="loc_qlys_PrivatelyheldcompaniesMember_7C7B2A6596BC998F4FD563E55CD4785F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_C23AF0938D804341D89463E55CD49FCB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableTable_CC73B96B851FDA6CC2F263E55CD3690A" xlink:to="loc_us-gaap_InvestmentTypeAxis_C23AF0938D804341D89463E55CD49FCB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_44AFE2EDAE6360DCC65163E55CD48AED_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_C23AF0938D804341D89463E55CD49FCB" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_44AFE2EDAE6360DCC65163E55CD48AED_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_44AFE2EDAE6360DCC65163E55CD48AED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_C23AF0938D804341D89463E55CD49FCB" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_44AFE2EDAE6360DCC65163E55CD48AED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_B55B136E82EECE7DFBCA63E55CD4BE39" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_44AFE2EDAE6360DCC65163E55CD48AED" xlink:to="loc_us-gaap_PreferredStockMember_B55B136E82EECE7DFBCA63E55CD4BE39" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtSecuritiesMember" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_EE3641E9B9BCE5CF23B463E55CD56962" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_44AFE2EDAE6360DCC65163E55CD48AED" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_EE3641E9B9BCE5CF23B463E55CD56962" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_0286C93CA48EC4DEFC1D63E55CD5E900" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SecurityOwnedNotReadilyMarketableLineItems_496C8E1928B80DDA6BA763E55CD5868A" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_0286C93CA48EC4DEFC1D63E55CD5E900" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/CompanyAndSummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedBalanceSheets" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_BD45DF63872DDA007AC763E438B6C336" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_E401736BE26A2891F8F663E438B3BCC3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_BD45DF63872DDA007AC763E438B6C336" xlink:to="loc_us-gaap_StatementTable_E401736BE26A2891F8F663E438B3BCC3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerAxis" xlink:label="loc_invest_InvestmentIssuerAxis_0C8439B51AD3A22179B063E438B41D43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_E401736BE26A2891F8F663E438B3BCC3" xlink:to="loc_invest_InvestmentIssuerAxis_0C8439B51AD3A22179B063E438B41D43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_6592EE2F17FB69F9781863E438B4E471_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_invest_InvestmentIssuerAxis_0C8439B51AD3A22179B063E438B41D43" xlink:to="loc_invest_InvestmentIssuerDomain_6592EE2F17FB69F9781863E438B4E471_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_6592EE2F17FB69F9781863E438B4E471" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_invest_InvestmentIssuerAxis_0C8439B51AD3A22179B063E438B41D43" xlink:to="loc_invest_InvestmentIssuerDomain_6592EE2F17FB69F9781863E438B4E471" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_PrivatelyheldcompaniesMember" xlink:label="loc_qlys_PrivatelyheldcompaniesMember_4506F7689620CDEA4AB363E438B4A88E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_invest_InvestmentIssuerDomain_6592EE2F17FB69F9781863E438B4E471" xlink:to="loc_qlys_PrivatelyheldcompaniesMember_4506F7689620CDEA4AB363E438B4A88E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_E11CE9C1FF648C69905463E438B50135" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_E401736BE26A2891F8F663E438B3BCC3" xlink:to="loc_us-gaap_InvestmentTypeAxis_E11CE9C1FF648C69905463E438B50135" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_EDA574675CDA6E772C6A63E438B53A4F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_E11CE9C1FF648C69905463E438B50135" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_EDA574675CDA6E772C6A63E438B53A4F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_EDA574675CDA6E772C6A63E438B53A4F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_E11CE9C1FF648C69905463E438B50135" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_EDA574675CDA6E772C6A63E438B53A4F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_9A2DB789713FCA790F6B63E438B5EA5F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_EDA574675CDA6E772C6A63E438B53A4F" xlink:to="loc_us-gaap_PreferredStockMember_9A2DB789713FCA790F6B63E438B5EA5F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_BD45DF63872DDA007AC763E438B6C336" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_082F50F34383A4C7722163E438B6B0C1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_082F50F34383A4C7722163E438B6B0C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_0B68439C1E1218AC61C863E438B7E9BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_082F50F34383A4C7722163E438B6B0C1" xlink:to="loc_us-gaap_NetIncomeLoss_0B68439C1E1218AC61C863E438B7E9BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_082F50F34383A4C7722163E438B6B0C1" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_5BF32E160B653872F1BA63E438B7B8F6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_5BF32E160B653872F1BA63E438B7B8F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProvisionForDoubtfulAccounts" xlink:label="loc_us-gaap_ProvisionForDoubtfulAccounts_9D8744E1D36E4613142B63E438B77483" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_ProvisionForDoubtfulAccounts_9D8744E1D36E4613142B63E438B77483" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GainLossOnSaleOfPropertyPlantEquipment" xlink:label="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_C476865A11EB7B89C29063E438B75237" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_GainLossOnSaleOfPropertyPlantEquipment_C476865A11EB7B89C29063E438B75237" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_084400BA4FC3870EC58563E438B8C436" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_ShareBasedCompensation_084400BA4FC3870EC58563E438B8C436" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_6E92AD9F60944C299E4D63E438B81A24" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_6E92AD9F60944C299E4D63E438B81A24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_18D958E1453FA7B69A3863E438B8607A" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationOperatingActivities_18D958E1453FA7B69A3863E438B8607A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_0E209E8EC6320587A04363E438B889E8" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits_0E209E8EC6320587A04363E438B889E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_5DF5E1518EB8377EBC4A63E438B74F94" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_C490B6EA30DD9FE082C663E438B83760" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_C490B6EA30DD9FE082C663E438B83760" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_7D021883FC4C2A9571BD63E438B9ACFD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_7D021883FC4C2A9571BD63E438B9ACFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_D15347391799DF698E4B63E438B919AC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_D15347391799DF698E4B63E438B919AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_D8EB88D0BA82FC86FED663E438B97CE7" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_D8EB88D0BA82FC86FED663E438B97CE7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInContractWithCustomerLiability" xlink:label="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_2679BB9B4FF8D5CAEC3F63E438B92A9E" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInContractWithCustomerLiability_2679BB9B4FF8D5CAEC3F63E438B92A9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInDeferredRevenue" xlink:label="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_BB59E8D312E42149984A63E438B925A0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInDeferredRevenue_BB59E8D312E42149984A63E438B925A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_8EDF45888EC0250D34DE63E438BA0A8E" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_F55ADCEE4A51C4B5A46463E438B81C23" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentLiabilities_8EDF45888EC0250D34DE63E438BA0A8E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23E684FC69A850FF7A3763E438BA20CD" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_082F50F34383A4C7722163E438B6B0C1" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_23E684FC69A850FF7A3763E438BA20CD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireMarketableSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireMarketableSecurities_7AC00FF83D74A37BAA4A63E438BA7EF3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_PaymentsToAcquireMarketableSecurities_7AC00FF83D74A37BAA4A63E438BA7EF3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_725A5D105F2E5FEC4D3E63E438BA4C0E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_725A5D105F2E5FEC4D3E63E438BA4C0E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_4890826DA8AED113D73F63E438BA7546" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfMarketableSecurities_4890826DA8AED113D73F63E438BA7546" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_52D55D185BB6FCEEC1B663E438BB4A43" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_ProceedsFromSaleAndMaturityOfAvailableForSaleSecurities_52D55D185BB6FCEEC1B663E438BB4A43" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_9304B0AF03CD3B481B9963E438BB646C" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_9304B0AF03CD3B481B9963E438BB646C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesGross" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesGross_A1572E399BC71D72CC3B63E438BBEE46" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesGross_A1572E399BC71D72CC3B63E438BBEE46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsToAcquireInvestments" xlink:label="loc_us-gaap_PaymentsToAcquireInvestments_D2924E5031132BE96B6463E438BBBDD8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_PaymentsToAcquireInvestments_D2924E5031132BE96B6463E438BBBDD8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_CapitalizedSoftwareDevelopmentCosts" xlink:label="loc_qlys_CapitalizedSoftwareDevelopmentCosts_7E9F32C2747277290DDC63E438BB66EB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_qlys_CapitalizedSoftwareDevelopmentCosts_7E9F32C2747277290DDC63E438BB66EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ACB365A5A52D7550FDC263E438BB3A50" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_53DB078E9D1C9CC15FF863E438BA2581" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_ACB365A5A52D7550FDC263E438BB3A50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_40EB05E3D5BEF7A7871E63E438BC530B" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_40EB05E3D5BEF7A7871E63E438BC530B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_9D09D3D2E2AC7AAAC66863E438BC5031" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_9D09D3D2E2AC7AAAC66863E438BC5031" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_A358783D759AA94DB77963E438BC392D" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_A358783D759AA94DB77963E438BC392D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_DD74DEC398ED7904DB0163E438BC74B9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_DD74DEC398ED7904DB0163E438BC74B9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RepaymentsOfLongTermCapitalLeaseObligations" xlink:label="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_D89CC61C18029DC43F5C63E438BC51F6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:to="loc_us-gaap_RepaymentsOfLongTermCapitalLeaseObligations_D89CC61C18029DC43F5C63E438BC51F6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2F58374B2D6553C2EC3663E438BDC0A6" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_85654B88FA060C11AEFC63E438BCB2FF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_2F58374B2D6553C2EC3663E438BDC0A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_A9BBD32B9E160C0F3C5663E438BD3C71" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_A9BBD32B9E160C0F3C5663E438BD3C71" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_F6C4B7EDCD979C32E5B563E438BD9CF2" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_F6C4B7EDCD979C32E5B563E438BD9CF2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_8518AF2D2A41609C426C63E438BD4357" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_8518AF2D2A41609C426C63E438BD4357" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_E108E05C970CCFF5684B63E438BDE978" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_8518AF2D2A41609C426C63E438BD4357" xlink:to="loc_us-gaap_InterestPaidNet_E108E05C970CCFF5684B63E438BDE978" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_C7354ADF8126F9BD050E63E438BEA22E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_8518AF2D2A41609C426C63E438BD4357" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_C7354ADF8126F9BD050E63E438BEA22E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoncashInvestingAndFinancingItemsAbstract" xlink:label="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_D72E3338B0FF144885BF63E438BE0721" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecreaseAbstract_54B3E17E962DDF5BD0DD63E438B61E58" xlink:to="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_D72E3338B0FF144885BF63E438BE0721" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumed1" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumed1_B183E3EE6FC273C8FB3B63E438BE0F37" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_D72E3338B0FF144885BF63E438BE0721" xlink:to="loc_us-gaap_NoncashOrPartNoncashAcquisitionNetNonmonetaryAssetsAcquiredLiabilitiesAssumed1_B183E3EE6FC273C8FB3B63E438BE0F37" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CapitalExpendituresIncurredButNotYetPaid" xlink:label="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_54B90ED0AB4CC361550063E438BE6267" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_D72E3338B0FF144885BF63E438BE0721" xlink:to="loc_us-gaap_CapitalExpendituresIncurredButNotYetPaid_54B90ED0AB4CC361550063E438BE6267" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfComprehensiveIncomeConsolidatedStatementsOfComprehensiveIncomeParenthetical" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_D038F88ADDBEECD7FD1E5BBCEAC728D5" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8F86A81E20D56A658B555BBCEAC5195A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_D038F88ADDBEECD7FD1E5BBCEAC728D5" xlink:to="loc_us-gaap_StatementTable_8F86A81E20D56A658B555BBCEAC5195A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_61DA349BFA5337C9023A5BBCEAC57A23" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8F86A81E20D56A658B555BBCEAC5195A" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_61DA349BFA5337C9023A5BBCEAC57A23" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_3207211DE38E18AFDBC05BBCEAC571CE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_61DA349BFA5337C9023A5BBCEAC57A23" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_3207211DE38E18AFDBC05BBCEAC571CE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_3207211DE38E18AFDBC05BBCEAC571CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_61DA349BFA5337C9023A5BBCEAC57A23" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_3207211DE38E18AFDBC05BBCEAC571CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_74389F0AD526D2B31ABC5BBCEAC637A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_3207211DE38E18AFDBC05BBCEAC571CE" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_74389F0AD526D2B31ABC5BBCEAC637A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_2F1D28CEFE4D14C7894C5BBCEAC6B9C3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_3207211DE38E18AFDBC05BBCEAC571CE" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_2F1D28CEFE4D14C7894C5BBCEAC6B9C3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_004D2AAE936B5E5D36585BBCEAC6FD25" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8F86A81E20D56A658B555BBCEAC5195A" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_004D2AAE936B5E5D36585BBCEAC6FD25" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_004D2AAE936B5E5D36585BBCEAC6FD25" xlink:to="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_004D2AAE936B5E5D36585BBCEAC6FD25" xlink:to="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_C7EF9771AAB500BFB5DF5BBCEAC6780E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4" xlink:to="loc_us-gaap_CommonStockMember_C7EF9771AAB500BFB5DF5BBCEAC6780E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_B118AACC280AA825C0675BBCEAC72B6C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_B118AACC280AA825C0675BBCEAC72B6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_A209AB1353A42C10141E5BBCEAC759B0" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_A209AB1353A42C10141E5BBCEAC759B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_F7449BA7C17937FB19785BBCEAC7EA56" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_D51B173392B22C85AA105BBCEAC68EF4" xlink:to="loc_us-gaap_RetainedEarningsMember_F7449BA7C17937FB19785BBCEAC7EA56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3F21977314A4A9B6590A5BBCEAC7078E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_D038F88ADDBEECD7FD1E5BBCEAC728D5" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_3F21977314A4A9B6590A5BBCEAC7078E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_D038F88ADDBEECD7FD1E5BBCEAC728D5" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_74F4A7636EF1717A8C8A5BBCEAC8EAD1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockholdersEquity_74F4A7636EF1717A8C8A5BBCEAC8EAD1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_BCA7BDA79867CA1608425BBCEAC88C36" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_SharesOutstanding_BCA7BDA79867CA1608425BBCEAC88C36" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_5F2EDBEC8023ECB0BD915BBCEAC8EC61" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_NetIncomeLoss_5F2EDBEC8023ECB0BD915BBCEAC8EC61" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_FBD5C7630CF23B3093F25BBCEAC87835" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_FBD5C7630CF23B3093F25BBCEAC87835" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_FD2A7398794F3EBBF5C85BBCEAC9D326" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossAvailableForSaleSecuritiesAdjustmentNetOfTax_FD2A7398794F3EBBF5C85BBCEAC9D326" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_AB15847B28F7CE59E2A25BBCEAC9726B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_AB15847B28F7CE59E2A25BBCEAC9726B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_00BF88E3C7C90EAF82375BBCEAC91E5B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_00BF88E3C7C90EAF82375BBCEAC91E5B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodShares_FDE958CA0010935996025BBCEAC94FDC" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodShares_FDE958CA0010935996025BBCEAC94FDC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockRepurchasedDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedDuringPeriodValue_9971C8F1168DD5819AE45BBCEAC92E4E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockRepurchasedDuringPeriodValue_9971C8F1168DD5819AE45BBCEAC92E4E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested" xlink:label="loc_qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested_110F458722401C2FA57D5BBCEAC9707D" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_qlys_StockIssuedDuringPeriodSharesRestrictedStockAwardVested_110F458722401C2FA57D5BBCEAC9707D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_8754F6E8AC1A5B5B64555BBCEAC98067" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalTaxEffectFromShareBasedCompensation_8754F6E8AC1A5B5B64555BBCEAC98067" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueIssuedForServices" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueIssuedForServices_A23BD04D4D0EDF1A28485BBCEACAD1BC" xlink:type="locator" />
    <link:definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueIssuedForServices_A23BD04D4D0EDF1A28485BBCEACAD1BC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesIssuedForServices" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_BB1941EAEFEB6C9DAF755BBCEACA75C2" xlink:type="locator" />
    <link:definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesIssuedForServices_BB1941EAEFEB6C9DAF755BBCEACA75C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_985AEAED121762AC9B6A5BBCEACA4FF9" xlink:type="locator" />
    <link:definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalShareBasedCompensationRestrictedStockUnitsRequisiteServicePeriodRecognition_985AEAED121762AC9B6A5BBCEACA4FF9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares" xlink:label="loc_qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares_025D76A6C82E23C0BD455BBCEACA7EE4" xlink:type="locator" />
    <link:definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_qlys_AdjustmentstoAdditionalPaidinCapitalSharebasedCompensationRestrictedStockUnitorRestrictedStockAwardRequisiteServicePeriodRecognitionShares_025D76A6C82E23C0BD455BBCEACA7EE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_20257BA03918EC35B4C85BBCEACAA572" xlink:type="locator" />
    <link:definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_20257BA03918EC35B4C85BBCEACAA572" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_C0F2973762B74050B5B85BBCEACA9B02" xlink:type="locator" />
    <link:definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_18836766B8F6EF78698D5BBCEAC8B1AA" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_C0F2973762B74050B5B85BBCEACA9B02" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/DocumentAndEntityInformation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeBenefitsPlan" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/EmployeeBenefitsPlanDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedContributionPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedContributionPlanDisclosureLineItems_3D0513048258433B549E5E780CE6D30F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedContributionPlanTable" xlink:label="loc_us-gaap_DefinedContributionPlanTable_A1FD769116B504184FB95E780CE5ACA8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedContributionPlanDisclosureLineItems_3D0513048258433B549E5E780CE6D30F" xlink:to="loc_us-gaap_DefinedContributionPlanTable_A1FD769116B504184FB95E780CE5ACA8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetirementPlanTypeAxis" xlink:label="loc_us-gaap_RetirementPlanTypeAxis_BB1A21F3E589BBFCD6895E780CE504BB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DefinedContributionPlanTable_A1FD769116B504184FB95E780CE5ACA8" xlink:to="loc_us-gaap_RetirementPlanTypeAxis_BB1A21F3E589BBFCD6895E780CE504BB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_E07F1211F304B688E41B5E780CE5E93F_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_BB1A21F3E589BBFCD6895E780CE504BB" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_E07F1211F304B688E41B5E780CE5E93F_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetirementPlanTypeDomain" xlink:label="loc_us-gaap_RetirementPlanTypeDomain_E07F1211F304B688E41B5E780CE5E93F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RetirementPlanTypeAxis_BB1A21F3E589BBFCD6895E780CE504BB" xlink:to="loc_us-gaap_RetirementPlanTypeDomain_E07F1211F304B688E41B5E780CE5E93F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A401kPlanMember" xlink:label="loc_qlys_A401kPlanMember_4416C88FC87BA6EECFDB5E780CE532A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_E07F1211F304B688E41B5E780CE5E93F" xlink:to="loc_qlys_A401kPlanMember_4416C88FC87BA6EECFDB5E780CE532A4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ProvidentFundPlanandGratuityPlanMember" xlink:label="loc_qlys_ProvidentFundPlanandGratuityPlanMember_2BB61C094CEFB6DAA7C55E780CE6FDCA" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RetirementPlanTypeDomain_E07F1211F304B688E41B5E780CE5E93F" xlink:to="loc_qlys_ProvidentFundPlanandGratuityPlanMember_2BB61C094CEFB6DAA7C55E780CE6FDCA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount" xlink:label="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_7B2CC966225337DA3A575E780CE61A7C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPlanDisclosureLineItems_3D0513048258433B549E5E780CE6D30F" xlink:to="loc_us-gaap_DefinedContributionPlanEmployerDiscretionaryContributionAmount_7B2CC966225337DA3A575E780CE61A7C" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstruments" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentLineItems" xlink:label="loc_invest_InvestmentLineItems_CDA875283FE6868C0FC85FC190885F73" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentTable" xlink:label="loc_invest_InvestmentTable_1AA030AD00D2240A21025FC19086D0A3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_invest_InvestmentLineItems_CDA875283FE6868C0FC85FC190885F73" xlink:to="loc_invest_InvestmentTable_1AA030AD00D2240A21025FC19086D0A3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_37D63B328CEC515E18DD5FC19087BEFD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_invest_InvestmentTable_1AA030AD00D2240A21025FC19086D0A3" xlink:to="loc_us-gaap_InvestmentTypeAxis_37D63B328CEC515E18DD5FC19087BEFD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_E38BD0C84F7D51977F2E5FC3D4981D1B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_37D63B328CEC515E18DD5FC19087BEFD" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_E38BD0C84F7D51977F2E5FC3D4981D1B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_E38BD0C84F7D51977F2E5FC3D4981D1B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_37D63B328CEC515E18DD5FC19087BEFD" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_E38BD0C84F7D51977F2E5FC3D4981D1B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_FE9319589FC31EFA2B695FC19087E3D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_E38BD0C84F7D51977F2E5FC3D4981D1B" xlink:to="loc_us-gaap_PreferredStockMember_FE9319589FC31EFA2B695FC19087E3D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtSecuritiesMember" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_60C3116ADE66CEFEEFE15FC1908739E0" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_E38BD0C84F7D51977F2E5FC3D4981D1B" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_60C3116ADE66CEFEEFE15FC1908739E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerAxis" xlink:label="loc_invest_InvestmentIssuerAxis_0ABB8CACD08D9EA44FB35FC19087C84C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_invest_InvestmentTable_1AA030AD00D2240A21025FC19086D0A3" xlink:to="loc_invest_InvestmentIssuerAxis_0ABB8CACD08D9EA44FB35FC19087C84C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_D72EC9F14199725369B25FC41DF8F6D4_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_invest_InvestmentIssuerAxis_0ABB8CACD08D9EA44FB35FC19087C84C" xlink:to="loc_invest_InvestmentIssuerDomain_D72EC9F14199725369B25FC41DF8F6D4_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_InvestmentIssuerDomain" xlink:label="loc_invest_InvestmentIssuerDomain_D72EC9F14199725369B25FC41DF8F6D4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_invest_InvestmentIssuerAxis_0ABB8CACD08D9EA44FB35FC19087C84C" xlink:to="loc_invest_InvestmentIssuerDomain_D72EC9F14199725369B25FC41DF8F6D4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_PrivatelyheldcompaniesMember" xlink:label="loc_qlys_PrivatelyheldcompaniesMember_414060953E8057F3714F5FC190885E2D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_invest_InvestmentIssuerDomain_D72EC9F14199725369B25FC41DF8F6D4" xlink:to="loc_qlys_PrivatelyheldcompaniesMember_414060953E8057F3714F5FC190885E2D" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsCashAndCashEquivalentsShortTermAndLongTermMarketableSecuritiesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_F43DC6C3C4681D5E22B135B7BC4C0C2B" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_914645722BE7FE14BCCE35B7BC48CD40" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_F43DC6C3C4681D5E22B135B7BC4C0C2B" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_914645722BE7FE14BCCE35B7BC48CD40" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_54BCE15CF6E6D5F63FAB35BC6E8FB30B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_914645722BE7FE14BCCE35B7BC48CD40" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_54BCE15CF6E6D5F63FAB35BC6E8FB30B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_54BCE15CF6E6D5F63FAB35BC6E8FB30B" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_54BCE15CF6E6D5F63FAB35BC6E8FB30B" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_D3B9061DA38331075C6B35CB0DBCEAD3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_D3B9061DA38331075C6B35CB0DBCEAD3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashMember" xlink:label="loc_us-gaap_CashMember_A3AC516FE77405B23DE035BD615BC9F8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D" xlink:to="loc_us-gaap_CashMember_A3AC516FE77405B23DE035BD615BC9F8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_97AC153C35F26D07686635BC9C7A8034" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D" xlink:to="loc_us-gaap_CommercialPaperMember_97AC153C35F26D07686635BC9C7A8034" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_42921BC0859E59D8B26835BD6177D976" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_423322EA129C91FB443C35BCF960848D" xlink:to="loc_us-gaap_MoneyMarketFundsMember_42921BC0859E59D8B26835BD6177D976" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_C09AABC8E3D500B92DF435B7BC49F641" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_914645722BE7FE14BCCE35B7BC48CD40" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_C09AABC8E3D500B92DF435B7BC49F641" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_C09AABC8E3D500B92DF435B7BC49F641" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_C09AABC8E3D500B92DF435B7BC49F641" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_E17D6E134542AC03B94E35B7BC4A5CC0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_E17D6E134542AC03B94E35B7BC4A5CC0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_NoncurrentAssetsMember" xlink:label="loc_qlys_NoncurrentAssetsMember_E2D300923F83D5F6827735B7BC4918D4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:to="loc_qlys_NoncurrentAssetsMember_E2D300923F83D5F6827735B7BC4918D4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShortTermInvestmentsMember" xlink:label="loc_us-gaap_ShortTermInvestmentsMember_53B81B9EFEF502269A2135B7BC4AB110" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:to="loc_us-gaap_ShortTermInvestmentsMember_53B81B9EFEF502269A2135B7BC4AB110" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LongTermInvestmentsMember" xlink:label="loc_qlys_LongTermInvestmentsMember_092BD5F6ADF05D874BCB35B7BC4A6E51" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:to="loc_qlys_LongTermInvestmentsMember_092BD5F6ADF05D874BCB35B7BC4A6E51" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AvailableForSaleSecuritiesLineItemMember" xlink:label="loc_qlys_AvailableForSaleSecuritiesLineItemMember_1A0E7896AB50A696256835C7ACF589A0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:to="loc_qlys_AvailableForSaleSecuritiesLineItemMember_1A0E7896AB50A696256835C7ACF589A0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_CurrentAssetsMember" xlink:label="loc_qlys_CurrentAssetsMember_34F0AE73D887A8D3BA3735C7AE1557AF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_F017C7053342BDC44CAD35B7BC491AF0" xlink:to="loc_qlys_CurrentAssetsMember_34F0AE73D887A8D3BA3735C7AE1557AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_4547EC7EC71BD33B7DBB35B7BC4A2F10" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_914645722BE7FE14BCCE35B7BC48CD40" xlink:to="loc_us-gaap_FinancialInstrumentAxis_4547EC7EC71BD33B7DBB35B7BC4A2F10" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_4547EC7EC71BD33B7DBB35B7BC4A2F10" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_4547EC7EC71BD33B7DBB35B7BC4A2F10" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_27D16F29AE5A98FBFD1335B7BC4BE268" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_27D16F29AE5A98FBFD1335B7BC4BE268" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_E73DED1B2A4A2B5F478935B7BC4BD17A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE" xlink:to="loc_us-gaap_CommercialPaperMember_E73DED1B2A4A2B5F478935B7BC4BD17A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_8F4F80A3BCC9A1B439C535B7BC4B12DF" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_8F4F80A3BCC9A1B439C535B7BC4B12DF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_6010610704459DE6479035B7BC4C3B04" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_C6C7A88783DD00EEF25B35B7BC4A90AE" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_6010610704459DE6479035B7BC4C3B04" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_F43DC6C3C4681D5E22B135B7BC4C0C2B" xlink:to="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_FairValueAssetValueAmortizedCost" xlink:label="loc_qlys_FairValueAssetValueAmortizedCost_EB33840E11450479B14F35D4860911BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_qlys_FairValueAssetValueAmortizedCost_EB33840E11450479B14F35D4860911BA" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_FairValueAssetValueUnrealizedGains" xlink:label="loc_qlys_FairValueAssetValueUnrealizedGains_93F2DF5ECAF5457F064935D56EDF246C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_qlys_FairValueAssetValueUnrealizedGains_93F2DF5ECAF5457F064935D56EDF246C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_6DD39C841468C0208D8A35B7BC4EA69F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_6DD39C841468C0208D8A35B7BC4EA69F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6556E4AB89EFAD66A7F235B7BC4E3A18" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_6556E4AB89EFAD66A7F235B7BC4E3A18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_D2BB78B9F5AA0497FF3135B7BC4EB7B0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_D2BB78B9F5AA0497FF3135B7BC4EB7B0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_FairValueAssetValueUnrealizedLosses" xlink:label="loc_qlys_FairValueAssetValueUnrealizedLosses_6973CBAE7B13A7D93D3C35D5F64F570C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_qlys_FairValueAssetValueUnrealizedLosses_6973CBAE7B13A7D93D3C35D5F64F570C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3ACF5080474E7D1D4C7335B7BC4C4ACB" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_3ACF5080474E7D1D4C7335B7BC4C4ACB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_9F5BC031D5070778A48C35B7BC4D70AB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_9F5BC031D5070778A48C35B7BC4D70AB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_EDF6B12E233FFDCC710E35C7A18F38A0" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_EDF6B12E233FFDCC710E35C7A18F38A0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_C9AEC1BD01E3E08E637535B7BC4DF136" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_C9AEC1BD01E3E08E637535B7BC4DF136" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesCurrent" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesCurrent_D884C25DD0927C564F3035B7BC4DE116" xlink:type="locator" />
    <link:definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_C773E8D3CEE1E144298C35B7BC4C21AD" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesCurrent_D884C25DD0927C564F3035B7BC4DE116" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsContractualMaturityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D62B90CCED6D66EFCEC635B7BFB29A60" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2F2D12805BFFBA0E648935B7BFB0821F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D62B90CCED6D66EFCEC635B7BFB29A60" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2F2D12805BFFBA0E648935B7BFB0821F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_ECB5BC006423FED84F6335B7BFB197A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2F2D12805BFFBA0E648935B7BFB0821F" xlink:to="loc_us-gaap_FinancialInstrumentAxis_ECB5BC006423FED84F6335B7BFB197A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ECB5BC006423FED84F6335B7BFB197A1" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_ECB5BC006423FED84F6335B7BFB197A1" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_E5CB12F055DFE6CA456A35B7BFB1F039" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF" xlink:to="loc_us-gaap_CommercialPaperMember_E5CB12F055DFE6CA456A35B7BFB1F039" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_9A91F8B784334E2ED70D35B7BFB2204B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_9A91F8B784334E2ED70D35B7BFB2204B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_B808B633182871B7210335B7BFB2AC17" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_B808B633182871B7210335B7BFB2AC17" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_CD676DA13AD7E0A95D7935B7BFB21184" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_04BB8CE7D03EAA068E0335B7BFB1A9AF" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_CD676DA13AD7E0A95D7935B7BFB21184" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_419EFFACE3446588958835B7BFB26058" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D62B90CCED6D66EFCEC635B7BFB29A60" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesNextTwelveMonthsFairValue_419EFFACE3446588958835B7BFB26058" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_279D1E3F170799802AD635B7BFB37F64" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D62B90CCED6D66EFCEC635B7BFB29A60" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesYearOneThroughTwoFairValue_279D1E3F170799802AD635B7BFB37F64" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue" xlink:label="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_9FE84E90716AF15EBB7C35B7BFB3B8B3" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D62B90CCED6D66EFCEC635B7BFB29A60" xlink:to="loc_qlys_AvailableForSaleSecuritiesDebtAndEquityMaturitiesAfterYearTwoFairValue_9FE84E90716AF15EBB7C35B7BFB3B8B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_CFC43CB832F7D5FA272535D881AD0D39" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D62B90CCED6D66EFCEC635B7BFB29A60" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_CFC43CB832F7D5FA272535D881AD0D39" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativeGainsLossesByIncomeStatementLocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5D530134C2BA058986635B7C64BA0B4" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0813141F7A1F3E25E58D35B7C64929F2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5D530134C2BA058986635B7C64BA0B4" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0813141F7A1F3E25E58D35B7C64929F2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_9CA6C8C4DA26DF1A3B9035D7A0DAFD3B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0813141F7A1F3E25E58D35B7C64929F2" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_9CA6C8C4DA26DF1A3B9035D7A0DAFD3B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1BA8458CFD56633555FB35D7A12CFF27_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9CA6C8C4DA26DF1A3B9035D7A0DAFD3B" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1BA8458CFD56633555FB35D7A12CFF27_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1BA8458CFD56633555FB35D7A12CFF27" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_9CA6C8C4DA26DF1A3B9035D7A0DAFD3B" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1BA8458CFD56633555FB35D7A12CFF27" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_8832A14A36B740FC562835D7A14136DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_1BA8458CFD56633555FB35D7A12CFF27" xlink:to="loc_us-gaap_ForwardContractsMember_8832A14A36B740FC562835D7A14136DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_D918216EA4A8761950FD35B7C6497397" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0813141F7A1F3E25E58D35B7C64929F2" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_D918216EA4A8761950FD35B7C6497397" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_6DF1FAAC1AD1793BCB9535B7C64AB32D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_D918216EA4A8761950FD35B7C6497397" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_6DF1FAAC1AD1793BCB9535B7C64AB32D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_6DF1FAAC1AD1793BCB9535B7C64AB32D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_D918216EA4A8761950FD35B7C6497397" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_6DF1FAAC1AD1793BCB9535B7C64AB32D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherExpenseMember" xlink:label="loc_us-gaap_OtherExpenseMember_6D8CC308E587F1F27BE435B7C64A650C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6DF1FAAC1AD1793BCB9535B7C64AB32D" xlink:to="loc_us-gaap_OtherExpenseMember_6D8CC308E587F1F27BE435B7C64A650C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherOperatingIncomeExpenseMember" xlink:label="loc_us-gaap_OtherOperatingIncomeExpenseMember_F2CA13DD7DE9CEAA4F3A35B7C64A5068" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_6DF1FAAC1AD1793BCB9535B7C64AB32D" xlink:to="loc_us-gaap_OtherOperatingIncomeExpenseMember_F2CA13DD7DE9CEAA4F3A35B7C64A5068" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_7897C7D2C70BB9A2CD7935B7C64B31FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5D530134C2BA058986635B7C64BA0B4" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInIncomeIneffectivePortionAndAmountExcludedFromEffectivenessTestingNet_7897C7D2C70BB9A2CD7935B7C64B31FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCurrencyTransactionGainLossBeforeTax" xlink:label="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_BBC097067683377B674935B7C64C2B5A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5D530134C2BA058986635B7C64BA0B4" xlink:to="loc_us-gaap_ForeignCurrencyTransactionGainLossBeforeTax_BBC097067683377B674935B7C64C2B5A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax" xlink:label="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_E2A1B4EE59E4A1DBCBCE35B7C64C7806" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5D530134C2BA058986635B7C64BA0B4" xlink:to="loc_qlys_ForeignCurrencyTransactionGainLossIncludingDerivativesBeforeTax_E2A1B4EE59E4A1DBCBCE35B7C64C7806" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeGainLossOnDerivativeNet" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet_183622D6FD8DAAFB55E935B7C64C8B32" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A5D530134C2BA058986635B7C64BA0B4" xlink:to="loc_us-gaap_DerivativeGainLossOnDerivativeNet_183622D6FD8DAAFB55E935B7C64C8B32" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsDerivativesByBalanceSheetLocationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativesFairValueLineItems" xlink:label="loc_us-gaap_DerivativesFairValueLineItems_11CD7C06116084B98DDB35B7C44B8666" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable" xlink:label="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_6DD287AC95CBAF38D2D635B7C449A95C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_11CD7C06116084B98DDB35B7C44B8666" xlink:to="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_6DD287AC95CBAF38D2D635B7C449A95C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_F96AC4A6BEC7112E2F9135B7C44A3BD6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_6DD287AC95CBAF38D2D635B7C449A95C" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_F96AC4A6BEC7112E2F9135B7C44A3BD6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_C8DA6B8A0845C057ACE035B7C44A9FDD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F96AC4A6BEC7112E2F9135B7C44A3BD6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_C8DA6B8A0845C057ACE035B7C44A9FDD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_C8DA6B8A0845C057ACE035B7C44A9FDD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F96AC4A6BEC7112E2F9135B7C44A3BD6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_C8DA6B8A0845C057ACE035B7C44A9FDD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_1A35A73E936737DA11AF35B7C44A03B0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_C8DA6B8A0845C057ACE035B7C44A9FDD" xlink:to="loc_us-gaap_ForwardContractsMember_1A35A73E936737DA11AF35B7C44A03B0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_F1C923FED8AC149E6F4335B7C44B6734" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValuesDerivativesBalanceSheetLocationByDerivativeContractTypeByHedgingDesignationTable_6DD287AC95CBAF38D2D635B7C449A95C" xlink:to="loc_us-gaap_HedgingDesignationAxis_F1C923FED8AC149E6F4335B7C44B6734" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_60E7B1B5CB875E394F5935C5A57113CF_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_F1C923FED8AC149E6F4335B7C44B6734" xlink:to="loc_us-gaap_HedgingDesignationDomain_60E7B1B5CB875E394F5935C5A57113CF_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_60E7B1B5CB875E394F5935C5A57113CF" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_F1C923FED8AC149E6F4335B7C44B6734" xlink:to="loc_us-gaap_HedgingDesignationDomain_60E7B1B5CB875E394F5935C5A57113CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_064D148F0768CE6FB8B135B7C44BEC00" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_60E7B1B5CB875E394F5935C5A57113CF" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_064D148F0768CE6FB8B135B7C44BEC00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_7AD51B8DA96566C239DF35B7C44B47A6" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_60E7B1B5CB875E394F5935C5A57113CF" xlink:to="loc_us-gaap_NondesignatedMember_7AD51B8DA96566C239DF35B7C44B47A6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_371210BA2DEB05FEFC6A35B7C44B81E8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_11CD7C06116084B98DDB35B7C44B8666" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_371210BA2DEB05FEFC6A35B7C44B81E8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_EF2970116D3F0F21FE4435DBDBDE902A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativesFairValueLineItems_11CD7C06116084B98DDB35B7C44B8666" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_EF2970116D3F0F21FE4435DBDBDE902A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsFairValueHierarchyDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F59ED03FBBA062570FC335B7BE11D450" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F59ED03FBBA062570FC335B7BE11D450" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsAxis" xlink:label="loc_us-gaap_CashAndCashEquivalentsAxis_9DAEFA688197F32603A435B7BE0B0FBC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:to="loc_us-gaap_CashAndCashEquivalentsAxis_9DAEFA688197F32603A435B7BE0B0FBC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6B3A1DF5E5AEE417795835C1FE6D1C24_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_9DAEFA688197F32603A435B7BE0B0FBC" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6B3A1DF5E5AEE417795835C1FE6D1C24_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember" xlink:label="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6B3A1DF5E5AEE417795835C1FE6D1C24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CashAndCashEquivalentsAxis_9DAEFA688197F32603A435B7BE0B0FBC" xlink:to="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6B3A1DF5E5AEE417795835C1FE6D1C24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_05AEFEB35D5A93DF570135B7BE0BA80C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember_6B3A1DF5E5AEE417795835C1FE6D1C24" xlink:to="loc_us-gaap_MoneyMarketFundsMember_05AEFEB35D5A93DF570135B7BE0BA80C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_FA845541431D91FBA01635B7BE0CA8A8" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_FA845541431D91FBA01635B7BE0CA8A8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_51391A9F3ECBF655742B35B7BE0CB57C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_FA845541431D91FBA01635B7BE0CA8A8" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_51391A9F3ECBF655742B35B7BE0CB57C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_51391A9F3ECBF655742B35B7BE0CB57C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_FA845541431D91FBA01635B7BE0CA8A8" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_51391A9F3ECBF655742B35B7BE0CB57C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_C2CDC180AD807765214535B7BE0C5DD0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_51391A9F3ECBF655742B35B7BE0CB57C" xlink:to="loc_us-gaap_ForwardContractsMember_C2CDC180AD807765214535B7BE0C5DD0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_F462153A28F8E834940E35B7BE0C6A32" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:to="loc_us-gaap_FinancialInstrumentAxis_F462153A28F8E834940E35B7BE0C6A32" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_F462153A28F8E834940E35B7BE0C6A32" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_F462153A28F8E834940E35B7BE0C6A32" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_00532F07D8C9CCF5DA5F35B7BE0D1748" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:to="loc_us-gaap_MoneyMarketFundsMember_00532F07D8C9CCF5DA5F35B7BE0D1748" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommercialPaperMember" xlink:label="loc_us-gaap_CommercialPaperMember_660F2261992A7ED11AEE35B7BE0D4626" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:to="loc_us-gaap_CommercialPaperMember_660F2261992A7ED11AEE35B7BE0D4626" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C5E7279357089CBD122635B7BE0D7B4D" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C5E7279357089CBD122635B7BE0D7B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CorporateBondSecuritiesMember" xlink:label="loc_us-gaap_CorporateBondSecuritiesMember_D3211E6CD804D0DFC13535B7BE0DAB76" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:to="loc_us-gaap_CorporateBondSecuritiesMember_D3211E6CD804D0DFC13535B7BE0DAB76" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_A1BEAF0CFCD93DDB5F5C35B7BE0E3B02" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_16E1DC3BDD3B3526D03835B7BE0DB950" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_A1BEAF0CFCD93DDB5F5C35B7BE0E3B02" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_95D4514832F4E69D097E35B7BE0E5C08" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_95D4514832F4E69D097E35B7BE0E5C08" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BA348D34020AD3CEED4E35B7BE0E65D3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_95D4514832F4E69D097E35B7BE0E5C08" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BA348D34020AD3CEED4E35B7BE0E65D3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BA348D34020AD3CEED4E35B7BE0E65D3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_95D4514832F4E69D097E35B7BE0E5C08" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BA348D34020AD3CEED4E35B7BE0E65D3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_B897AE20646DF75687D535B7BE0E49E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BA348D34020AD3CEED4E35B7BE0E65D3" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_B897AE20646DF75687D535B7BE0E49E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_6993F1B9FE20C509BF8235B7BE0E1950" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_BA348D34020AD3CEED4E35B7BE0E65D3" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_6993F1B9FE20C509BF8235B7BE0E1950" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5DDB69AA5526A5AE5D4535B7BE0FAC00" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5DDB69AA5526A5AE5D4535B7BE0FAC00" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_F228D456575149A32F6735B7BE0F33A9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5DDB69AA5526A5AE5D4535B7BE0FAC00" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_F228D456575149A32F6735B7BE0F33A9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_F228D456575149A32F6735B7BE0F33A9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_5DDB69AA5526A5AE5D4535B7BE0FAC00" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_F228D456575149A32F6735B7BE0F33A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_F50AE89357888061228F35B7BE0F6C5D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_F228D456575149A32F6735B7BE0F33A9" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_F50AE89357888061228F35B7BE0F6C5D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_D569898BD49B1AC7356535B7BE103DC8" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_365C4A922BB000380B7D35B7BE0BDB43" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_D569898BD49B1AC7356535B7BE103DC8" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_938E4DE883188825E69835B7BE10D051_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_D569898BD49B1AC7356535B7BE103DC8" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_938E4DE883188825E69835B7BE10D051_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B1814A5859418B6897DC35B7BE107DBA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_D569898BD49B1AC7356535B7BE103DC8" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B1814A5859418B6897DC35B7BE107DBA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_938E4DE883188825E69835B7BE10D051" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B1814A5859418B6897DC35B7BE107DBA" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_938E4DE883188825E69835B7BE10D051" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_F3F733B0E757B35A8E0D35B7BE10E783" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_B1814A5859418B6897DC35B7BE107DBA" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_F3F733B0E757B35A8E0D35B7BE10E783" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_597E718623D9E7BA8C8E35B7BE11E29A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F59ED03FBBA062570FC335B7BE11D450" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_597E718623D9E7BA8C8E35B7BE11E29A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsFairValueDisclosureAbstract" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_1D29822D38CE4BDD07EC35B7BE11A702" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_F59ED03FBBA062570FC335B7BE11D450" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_1D29822D38CE4BDD07EC35B7BE11A702" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_E158E63DE4ED8653287135C3954BD5C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_1D29822D38CE4BDD07EC35B7BE11A702" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_E158E63DE4ED8653287135C3954BD5C2" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_659BD677E83D6AFBC8485FC190783417" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_InvestmentTypeAxis_659BD677E83D6AFBC8485FC190783417" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_84578291BE0F2DE081EF5FC27E38871E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_659BD677E83D6AFBC8485FC190783417" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_84578291BE0F2DE081EF5FC27E38871E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_84578291BE0F2DE081EF5FC27E38871E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_659BD677E83D6AFBC8485FC190783417" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_84578291BE0F2DE081EF5FC27E38871E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ConvertibleDebtSecuritiesMember" xlink:label="loc_us-gaap_ConvertibleDebtSecuritiesMember_6BDAB63512BD1475C4615FC19078CB18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_84578291BE0F2DE081EF5FC27E38871E" xlink:to="loc_us-gaap_ConvertibleDebtSecuritiesMember_6BDAB63512BD1475C4615FC19078CB18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_66DDB8CF1069C8B3F5C65FC19079A269" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_84578291BE0F2DE081EF5FC27E38871E" xlink:to="loc_us-gaap_PreferredStockMember_66DDB8CF1069C8B3F5C65FC19079A269" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_2F36C7F8DEB094FAD5875FC190797442" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_HedgingDesignationAxis_2F36C7F8DEB094FAD5875FC190797442" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_FBCA80704D4618C2BCE15FC19079B503_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_2F36C7F8DEB094FAD5875FC190797442" xlink:to="loc_us-gaap_HedgingDesignationDomain_FBCA80704D4618C2BCE15FC19079B503_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_FBCA80704D4618C2BCE15FC19079B503" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_2F36C7F8DEB094FAD5875FC190797442" xlink:to="loc_us-gaap_HedgingDesignationDomain_FBCA80704D4618C2BCE15FC19079B503" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_2C0F38E21A2546EEE1A25FC190793A85" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_FBCA80704D4618C2BCE15FC19079B503" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_2C0F38E21A2546EEE1A25FC190793A85" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_D1915A8D408B30FE52FD5FC1907914DD" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_FBCA80704D4618C2BCE15FC19079B503" xlink:to="loc_us-gaap_NondesignatedMember_D1915A8D408B30FE52FD5FC1907914DD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_4EEE224C043BD76AA6F05FC1907A1400" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_4EEE224C043BD76AA6F05FC1907A1400" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_4D3B08649D31D87DFCA35FC1907A771E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_4EEE224C043BD76AA6F05FC1907A1400" xlink:to="loc_us-gaap_HedgingRelationshipDomain_4D3B08649D31D87DFCA35FC1907A771E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_4D3B08649D31D87DFCA35FC1907A771E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_4EEE224C043BD76AA6F05FC1907A1400" xlink:to="loc_us-gaap_HedgingRelationshipDomain_4D3B08649D31D87DFCA35FC1907A771E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_27858F686F15C23C9F845FC1907A0C7D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_4D3B08649D31D87DFCA35FC1907A771E" xlink:to="loc_us-gaap_CashFlowHedgingMember_27858F686F15C23C9F845FC1907A0C7D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_CurrencyAxis" xlink:label="loc_srt_CurrencyAxis_2DFB615AC2E50F5E04ED5FC1907BF939" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_srt_CurrencyAxis_2DFB615AC2E50F5E04ED5FC1907BF939" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd#currency_AllCurrenciesDomain" xlink:label="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CurrencyAxis_2DFB615AC2E50F5E04ED5FC1907BF939" xlink:to="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd#currency_AllCurrenciesDomain" xlink:label="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CurrencyAxis_2DFB615AC2E50F5E04ED5FC1907BF939" xlink:to="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd#currency_EUR" xlink:label="loc_currency_EUR_E3F329C639CD5AAF3C025FC1907B301F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995" xlink:to="loc_currency_EUR_E3F329C639CD5AAF3C025FC1907B301F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd#currency_GBP" xlink:label="loc_currency_GBP_1E31F2B0BD3565D8C7D15FC1907BD6A4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995" xlink:to="loc_currency_GBP_1E31F2B0BD3565D8C7D15FC1907BD6A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/currency/2017/currency-2017-01-31.xsd#currency_INR" xlink:label="loc_currency_INR_099AAC547446995BEA845FC1907BD5CC" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_99E4A49012CA4EE693C35FC1907B6995" xlink:to="loc_currency_INR_099AAC547446995BEA845FC1907BD5CC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_05FC494EF7280E6448915FC1907B66A3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_05FC494EF7280E6448915FC1907B66A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FE6530CAD47959C598D5FC1907CDB21_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_05FC494EF7280E6448915FC1907B66A3" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FE6530CAD47959C598D5FC1907CDB21_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FE6530CAD47959C598D5FC1907CDB21" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_05FC494EF7280E6448915FC1907B66A3" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FE6530CAD47959C598D5FC1907CDB21" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_8E96E6B210C705D5F4F35FC1907C6695" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_9FE6530CAD47959C598D5FC1907CDB21" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_8E96E6B210C705D5F4F35FC1907C6695" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_48CE130D17F5C21F4FC45FC1907C77AF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_FinancialInstrumentAxis_48CE130D17F5C21F4FC45FC1907C77AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3A770A706CEB455C5CA85FC1907C0B8D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_48CE130D17F5C21F4FC45FC1907C77AF" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3A770A706CEB455C5CA85FC1907C0B8D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3A770A706CEB455C5CA85FC1907C0B8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_48CE130D17F5C21F4FC45FC1907C77AF" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3A770A706CEB455C5CA85FC1907C0B8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_5B901850600F2138AE615FC1907DA94F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_3A770A706CEB455C5CA85FC1907C0B8D" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_5B901850600F2138AE615FC1907DA94F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_88A54F1DC152ED4A80125FC1907DDDA9" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_88A54F1DC152ED4A80125FC1907DDDA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79EEC270F86D4D1D5B225FC1907DA8B2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_88A54F1DC152ED4A80125FC1907DDDA9" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79EEC270F86D4D1D5B225FC1907DA8B2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79EEC270F86D4D1D5B225FC1907DA8B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_88A54F1DC152ED4A80125FC1907DDDA9" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79EEC270F86D4D1D5B225FC1907DA8B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_32C26B3875B910A225505FC1907D7902" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_79EEC270F86D4D1D5B225FC1907DA8B2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_32C26B3875B910A225505FC1907D7902" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_5F45E48756653BC11C925FC1907EE122" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_A1957B03AFD472E464985FC1907811A0" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_5F45E48756653BC11C925FC1907EE122" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5F45E48756653BC11C925FC1907EE122" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_5F45E48756653BC11C925FC1907EE122" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignExchangeContractMember" xlink:label="loc_us-gaap_ForeignExchangeContractMember_98E5CB92B34686F3E2755FC1907E7CA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73" xlink:to="loc_us-gaap_ForeignExchangeContractMember_98E5CB92B34686F3E2755FC1907E7CA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_EFB5B7DBEC0A5B637C415FC1907E4E6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73" xlink:to="loc_us-gaap_ForwardContractsMember_EFB5B7DBEC0A5B637C415FC1907E4E6F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ForeignCurrencyContractEuroMember" xlink:label="loc_qlys_ForeignCurrencyContractEuroMember_68F928CC66C3F142ACE55FC1907E146F" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73" xlink:to="loc_qlys_ForeignCurrencyContractEuroMember_68F928CC66C3F142ACE55FC1907E146F" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ForeignCurrencyContractPoundMember" xlink:label="loc_qlys_ForeignCurrencyContractPoundMember_C3D0754CBAC85D9EEE5F5FC1907FEB3F" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_5F00BB2E15B057F3115D5FC1907E5B73" xlink:to="loc_qlys_ForeignCurrencyContractPoundMember_C3D0754CBAC85D9EEE5F5FC1907FEB3F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths" xlink:label="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_4DBF055ECAC23CFE3D595FC1907F450B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_CashFlowHedgeGainLossToBeReclassifiedWithinTwelveMonths_4DBF055ECAC23CFE3D595FC1907F450B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DerivativeNumberOfInstrumentsHeld" xlink:label="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_5B6D0DBEAD335BD4FB045FC1907FC2F9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_DerivativeNumberOfInstrumentsHeld_5B6D0DBEAD335BD4FB045FC1907FC2F9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_0FF3F59A998EEBCFBE745FC19080D0E4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_invest_DerivativeNotionalAmount_0FF3F59A998EEBCFBE745FC19080D0E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss" xlink:label="loc_us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss_956724B035BB4096F6845FC190805040" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_UnrealizedGainLossOnInterestRateCashFlowHedgesPretaxAccumulatedOtherComprehensiveIncomeLoss_956724B035BB4096F6845FC190805040" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_FE233FDD5D3553CA71A85FC19080C2A3" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax_FE233FDD5D3553CA71A85FC19080C2A3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_24DA6C899C3E984AC2965FC190804D9B" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationAndTax_24DA6C899C3E984AC2965FC190804D9B" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ConvertibleSecurityInvestmentInPeriod" xlink:label="loc_qlys_ConvertibleSecurityInvestmentInPeriod_91346394EDC5509A00C15FC190809B4D" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_qlys_ConvertibleSecurityInvestmentInPeriod_91346394EDC5509A00C15FC190809B4D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCurrencyContractAssetFairValueDisclosure" xlink:label="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_CA2C0E8D83996AF6037A5FC19080F889" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_FC6BB4AFFF8F7BD454DC5FC1907FF6FB" xlink:to="loc_us-gaap_ForeignCurrencyContractAssetFairValueDisclosure_CA2C0E8D83996AF6037A5FC19080F889" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/FairValueOfFinancialInstrumentsTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:type="locator" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ScheduleOfGoodwillAndIntangibleAssetsTable" xlink:label="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_72D8609A1468DB129A655ED25EDB5233" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_72D8609A1468DB129A655ED25EDB5233" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_A763918A4E6ABB7C99855ED25EDB638F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_72D8609A1468DB129A655ED25EDB5233" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_A763918A4E6ABB7C99855ED25EDB638F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23D148C5C354B062D3F45ED25EDBA157_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A763918A4E6ABB7C99855ED25EDB638F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23D148C5C354B062D3F45ED25EDBA157_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23D148C5C354B062D3F45ED25EDBA157" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_A763918A4E6ABB7C99855ED25EDB638F" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23D148C5C354B062D3F45ED25EDBA157" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A1MobilityMember" xlink:label="loc_qlys_A1MobilityMember_307E0157CC3FAEE927E55ED25EDCD5C0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23D148C5C354B062D3F45ED25EDBA157" xlink:to="loc_qlys_A1MobilityMember_307E0157CC3FAEE927E55ED25EDCD5C0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_LayeredInsightsMember" xlink:label="loc_qlys_LayeredInsightsMember_9C7349415DE8947580C95ED25EDC4CAE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_23D148C5C354B062D3F45ED25EDBA157" xlink:to="loc_qlys_LayeredInsightsMember_9C7349415DE8947580C95ED25EDC4CAE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C6574477EB13873A086D5ED25EDCC970" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsTable_72D8609A1468DB129A655ED25EDB5233" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C6574477EB13873A086D5ED25EDCC970" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C567DAD73C045A7414C5ED25EDCB028_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C6574477EB13873A086D5ED25EDCC970" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C567DAD73C045A7414C5ED25EDCB028_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C567DAD73C045A7414C5ED25EDCB028" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_C6574477EB13873A086D5ED25EDCC970" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C567DAD73C045A7414C5ED25EDCB028" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DevelopedTechnologyRightsMember" xlink:label="loc_us-gaap_DevelopedTechnologyRightsMember_35E1D083B23F5359CA115ED25EDD78E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C567DAD73C045A7414C5ED25EDCB028" xlink:to="loc_us-gaap_DevelopedTechnologyRightsMember_35E1D083B23F5359CA115ED25EDD78E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PatentsMember" xlink:label="loc_us-gaap_PatentsMember_9DE240CA47ED2F93C4E25ED25EDDAAC3" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_4C567DAD73C045A7414C5ED25EDCB028" xlink:to="loc_us-gaap_PatentsMember_9DE240CA47ED2F93C4E25ED25EDDAAC3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_2CA3E2F6BAAE0809CC305ED25EDDC6E7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedIntangibleAssetsOtherThanGoodwill_2CA3E2F6BAAE0809CC305ED25EDDC6E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetUsefulLife" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_F81ECD8ADB77A3EF1D765ED25EDDCF0F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetUsefulLife_F81ECD8ADB77A3EF1D765ED25EDDCF0F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_DAD0CC1610D8B54DC4E55ED25EDEDC4E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsRemainingAmortizationPeriod1_DAD0CC1610D8B54DC4E55ED25EDEDC4E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsGross" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsGross_2DC1F504B9398EFD55EC5ED25EDEC211" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsGross_2DC1F504B9398EFD55EC5ED25EDEC211" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_6D25C94347E1811355895ED25EDE13C1" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsAccumulatedAmortization_6D25C94347E1811355895ED25EDE13C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNet" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNet_97F2FECD7FBCF9C142B85ED25EDEE1D0" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNet_97F2FECD7FBCF9C142B85ED25EDEE1D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill" xlink:label="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_496B3ACE996848E2BE335ED25EDEF3C5" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_IndefiniteLivedIntangibleAssetsExcludingGoodwill_496B3ACE996848E2BE335ED25EDEF3C5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_DD45930C1C376597A7555ED25EDE14DA" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_DD45930C1C376597A7555ED25EDE14DA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_7175370B347FDD88FE2E5ED25EDFFEEF" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_7175370B347FDD88FE2E5ED25EDFFEEF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Goodwill" xlink:label="loc_us-gaap_Goodwill_3CB5D58125ADF5B219AF5ED25EDFD145" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScheduleOfGoodwillAndIntangibleAssetsLineItems_EBBAB603D1690E3186C05ED25EDD7F72" xlink:to="loc_us-gaap_Goodwill_3CB5D58125ADF5B219AF5ED25EDFD145" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetFutureAmortizationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetGoodwillRollforwardDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/GoodwillAndIntangibleAssetsNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxes" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesDeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesIncomeBeforeProvisionForBenefitFromIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="qlys-20191231.xsd#qlys_IncomeTaxLineItems" xlink:label="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:type="locator" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_IncomeTaxTable" xlink:label="loc_qlys_IncomeTaxTable_143745434EC4AD7896F235807128541B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_qlys_IncomeTaxTable_143745434EC4AD7896F235807128541B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_6907544BBB8221853F1E35807128B6BA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_143745434EC4AD7896F235807128541B" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_6907544BBB8221853F1E35807128B6BA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_9099CE7447D3A1284109358071281627_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6907544BBB8221853F1E35807128B6BA" xlink:to="loc_us-gaap_EquityComponentDomain_9099CE7447D3A1284109358071281627_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_9099CE7447D3A1284109358071281627" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_6907544BBB8221853F1E35807128B6BA" xlink:to="loc_us-gaap_EquityComponentDomain_9099CE7447D3A1284109358071281627" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_0C08CD165CB79FC8FDF035807129C655" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_9099CE7447D3A1284109358071281627" xlink:to="loc_us-gaap_RetainedEarningsMember_0C08CD165CB79FC8FDF035807129C655" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis" xlink:label="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_4581373F933AB06E1E4835807129BE33" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_143745434EC4AD7896F235807128541B" xlink:to="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_4581373F933AB06E1E4835807129BE33" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_A175653072627D4C1B043580712940F7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_4581373F933AB06E1E4835807129BE33" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_A175653072627D4C1B043580712940F7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ChangeInAccountingPrincipleMember" xlink:label="loc_us-gaap_ChangeInAccountingPrincipleMember_A175653072627D4C1B043580712940F7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForChangeInAccountingPrincipleAxis_4581373F933AB06E1E4835807129BE33" xlink:to="loc_us-gaap_ChangeInAccountingPrincipleMember_A175653072627D4C1B043580712940F7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201609Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201609Member_3C78915B1BD9E91549E5358071297190" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingPrincipleMember_A175653072627D4C1B043580712940F7" xlink:to="loc_us-gaap_AccountingStandardsUpdate201609Member_3C78915B1BD9E91549E5358071297190" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_9757F62FB46B95C0E2DC3580712A5590" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_143745434EC4AD7896F235807128541B" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_9757F62FB46B95C0E2DC3580712A5590" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_9757F62FB46B95C0E2DC3580712A5590" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_9757F62FB46B95C0E2DC3580712A5590" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_0501092B7F5A86A7169D3580712ADA22" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_0501092B7F5A86A7169D3580712ADA22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DomesticCountryMember" xlink:label="loc_us-gaap_DomesticCountryMember_201977F12D3DDA75250A3580712B0B24" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB" xlink:to="loc_us-gaap_DomesticCountryMember_201977F12D3DDA75250A3580712B0B24" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_6FD278F433404E955B5F3580712B2486" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_BEEA6A04690A5DADA27B3580712A4DAB" xlink:to="loc_us-gaap_ForeignCountryMember_6FD278F433404E955B5F3580712B2486" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_4B3BE9887B8DB243DCF13580712B10FE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_qlys_IncomeTaxTable_143745434EC4AD7896F235807128541B" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_4B3BE9887B8DB243DCF13580712B10FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_9DEE57351460CB8768343580712BA062_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_4B3BE9887B8DB243DCF13580712B10FE" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_9DEE57351460CB8768343580712BA062_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_9DEE57351460CB8768343580712BA062" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_4B3BE9887B8DB243DCF13580712B10FE" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_9DEE57351460CB8768343580712BA062" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchMember" xlink:label="loc_us-gaap_ResearchMember_F72EB752F5F86CDC242E3580712BB808" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_9DEE57351460CB8768343580712BA062" xlink:to="loc_us-gaap_ResearchMember_F72EB752F5F86CDC242E3580712BB808" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit" xlink:label="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_7BD9432BA463FE51DED13580712C5A34" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_qlys_TaxCutsandJobsActof2017IncompleteAccountingProvisionalIncomeTaxExpenseBenefit_7BD9432BA463FE51DED13580712C5A34" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption" xlink:label="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_AFF31D07634AA6AE91353580712C49E9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_CumulativeEffectOfNewAccountingPrincipleInPeriodOfAdoption_AFF31D07634AA6AE91353580712C49E9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_80F8151370B91C75A6C03580712CCEF9" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_80F8151370B91C75A6C03580712CCEF9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_39470C457DE5E9EBD0AF3580712C51FF" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_39470C457DE5E9EBD0AF3580712C51FF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount" xlink:label="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_1A8FD1A95CC5453DCB603580712D848F" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_ValuationAllowanceDeferredTaxAssetChangeInAmount_1A8FD1A95CC5453DCB603580712D848F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_1CA572E44FD7617AF4583580712DF3C2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_OperatingLossCarryforwards_1CA572E44FD7617AF4583580712DF3C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_54A2C73A77B07E0288633580712D31BF" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_54A2C73A77B07E0288633580712D31BF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate" xlink:label="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_DF4912F2610FE411FEBC3580712D3EAB" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_IncomeTaxLineItems_07FD8BACB5E985E27FAE3580712C7C45" xlink:to="loc_us-gaap_UnrecognizedTaxBenefitsThatWouldImpactEffectiveTaxRate_DF4912F2610FE411FEBC3580712D3EAB" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesProvisionForBenefitFromIncomeTaxesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesTaxRateReconciliationDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholders" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_004232AE96D2768CD46052B1FFBCF31D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_004232AE96D2768CD46052B1FFBCF31D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_26A426AC2B60935BAC9652B1FFBCE4E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_004232AE96D2768CD46052B1FFBCF31D" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_26A426AC2B60935BAC9652B1FFBCE4E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_26F046C4608052F9BDD252B1FFBCBDF5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_26A426AC2B60935BAC9652B1FFBCE4E3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_26F046C4608052F9BDD252B1FFBCBDF5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_26F046C4608052F9BDD252B1FFBCBDF5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_26A426AC2B60935BAC9652B1FFBCE4E3" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_26F046C4608052F9BDD252B1FFBCBDF5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_DA3A1886225FE554EE0752B1FFBDEC56" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_26F046C4608052F9BDD252B1FFBCBDF5" xlink:to="loc_us-gaap_EmployeeStockOptionMember_DA3A1886225FE554EE0752B1FFBDEC56" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_3EC474F4F430FD273A6F52B1FFBDF0C7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_26F046C4608052F9BDD252B1FFBCBDF5" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_3EC474F4F430FD273A6F52B1FFBDF0C7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_NumeratorAbstract" xlink:label="loc_qlys_NumeratorAbstract_CDCB2815FB44C6358B6E52B1FFBD8E55" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:to="loc_qlys_NumeratorAbstract_CDCB2815FB44C6358B6E52B1FFBD8E55" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_A2324AC544D68C9B076A52B1FFBEEE88" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_NumeratorAbstract_CDCB2815FB44C6358B6E52B1FFBD8E55" xlink:to="loc_us-gaap_NetIncomeLoss_A2324AC544D68C9B076A52B1FFBEEE88" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_DenominatorAbstract" xlink:label="loc_qlys_DenominatorAbstract_F2357BC283EE070FF6F752B1FFBEA401" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:to="loc_qlys_DenominatorAbstract_F2357BC283EE070FF6F752B1FFBEA401" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_B1E3B1FDB9814AB0A42E52B1FFBE6198" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_F2357BC283EE070FF6F752B1FFBEA401" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_B1E3B1FDB9814AB0A42E52B1FFBE6198" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DilutiveSecuritiesAbstract" xlink:label="loc_us-gaap_DilutiveSecuritiesAbstract_6AAA0F54040E225381BD52B1FFBE39AC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_F2357BC283EE070FF6F752B1FFBEA401" xlink:to="loc_us-gaap_DilutiveSecuritiesAbstract_6AAA0F54040E225381BD52B1FFBE39AC" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_C1BF10547F9D820D4A7B52B1FFBE0078" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_6AAA0F54040E225381BD52B1FFBE39AC" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_C1BF10547F9D820D4A7B52B1FFBE0078" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_FFAAA250931B808B4FE552B1FFBF896A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DilutiveSecuritiesAbstract_6AAA0F54040E225381BD52B1FFBE39AC" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToCallOptionsAndWarrants_FFAAA250931B808B4FE552B1FFBF896A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_608177EC0650947B362452B1FFBF1189" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_DenominatorAbstract_F2357BC283EE070FF6F752B1FFBEA401" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_608177EC0650947B362452B1FFBF1189" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_1ABE9F380897D2B3DCA352B1FFBFF96E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:to="loc_us-gaap_EarningsPerShareBasic_1ABE9F380897D2B3DCA352B1FFBFF96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_926061E01239F219FA1452B1FFBFFEB9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:to="loc_us-gaap_EarningsPerShareDiluted_926061E01239F219FA1452B1FFBFFEB9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AntidilutiveSecuritiesAbstract" xlink:label="loc_qlys_AntidilutiveSecuritiesAbstract_8C85DF8BB1A4FF2FE3F652B1FFBF1736" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_9F95A0A69125CCB660E052B1FFBD6F9E" xlink:to="loc_qlys_AntidilutiveSecuritiesAbstract_8C85DF8BB1A4FF2FE3F652B1FFBF1736" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_0E946256CC63112E578E52B1FFBF5EF1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AntidilutiveSecuritiesAbstract_8C85DF8BB1A4FF2FE3F652B1FFBF1736" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_0E946256CC63112E578E52B1FFBF5EF1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/NetIncomePerShareAttributableToCommonStockholdersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNet" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CCE9F3340C93B6E030A55F41374257D6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CCE9F3340C93B6E030A55F41374257D6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C7F049E3E61F878D11295F4137427AE4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CCE9F3340C93B6E030A55F41374257D6" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C7F049E3E61F878D11295F4137427AE4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C7F049E3E61F878D11295F4137427AE4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_C7F049E3E61F878D11295F4137427AE4" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComputerEquipmentMember" xlink:label="loc_us-gaap_ComputerEquipmentMember_B8489042A522E0BE18C25F41374335CE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_us-gaap_ComputerEquipmentMember_B8489042A522E0BE18C25F41374335CE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_7FDFF23CF0A9681220B05F413743FA6F" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_7FDFF23CF0A9681220B05F413743FA6F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_632F204A7A0DAD3539585F4137432466" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_632F204A7A0DAD3539585F4137432466" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_EquipmentUnderCapitalLeaseMember" xlink:label="loc_qlys_EquipmentUnderCapitalLeaseMember_B5E10C1E0F2A6FB3F4985F413743C9A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_qlys_EquipmentUnderCapitalLeaseMember_B5E10C1E0F2A6FB3F4985F413743C9A4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ScannerAppliancesMember" xlink:label="loc_qlys_ScannerAppliancesMember_15433FD4689289ADA31E5F41374373D0" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_qlys_ScannerAppliancesMember_15433FD4689289ADA31E5F41374373D0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_18D6E3B3BE8356349D655F4137435DC5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_15433FD4689289ADA31E5F41374373D0" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentSubjectToSubscriptionMember_18D6E3B3BE8356349D655F4137435DC5" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember" xlink:label="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_0DAB273A0403172AB9105F41374487A9" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_ScannerAppliancesMember_15433FD4689289ADA31E5F41374373D0" xlink:to="loc_qlys_ScannerAppliancesAndOtherComputerEquipmentNotPlacedInServiceMember_0DAB273A0403172AB9105F41374487A9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_4FE5584A04E3759C4DBA5F413744F2AF" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_4FE5584A04E3759C4DBA5F413744F2AF" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_OtherFixedAssetsNotPlacedInServiceMember" xlink:label="loc_qlys_OtherFixedAssetsNotPlacedInServiceMember_3B777FD77A3340B83CF95F413744A086" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_778CCDFDA9700CEDF65F5F4137423E75" xlink:to="loc_qlys_OtherFixedAssetsNotPlacedInServiceMember_3B777FD77A3340B83CF95F413744A086" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_B527CAD52CA543EC5AA75F413744B17D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_B527CAD52CA543EC5AA75F413744B17D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_FinanceLeaseRightOfUseAsset" xlink:label="loc_us-gaap_FinanceLeaseRightOfUseAsset_47EF5604E754D5F82BAD5FA4DFA6D7DB" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_FinanceLeaseRightOfUseAsset_47EF5604E754D5F82BAD5FA4DFA6D7DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_F46909CEB635126907A55F4137450920" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_F46909CEB635126907A55F4137450920" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_0F64C694EF28416550F05F413745CB77" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_0F64C694EF28416550F05F413745CB77" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization" xlink:label="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_604BC435BA5F59BFA1165F41374534CF" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_qlys_DepreciationDepletionAndAmortizationExcludingIntangibleAssetAmortization_604BC435BA5F59BFA1165F41374534CF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1" xlink:label="loc_us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1_2FD8D20B47F6D8F1CDBC5F4137455ED2" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_AssetsDisposedOfByMethodOtherThanSaleInPeriodOfDispositionGainLossOnDisposition1_2FD8D20B47F6D8F1CDBC5F4137455ED2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_E462DF82256D2D059B745F41374527B6" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentNoncurrent_E462DF82256D2D059B745F41374527B6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization" xlink:label="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization_A77241019DE1B87EDD3B5F4137457EF6" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_DisposalGroupIncludingDiscontinuedOperationDepreciationAndAmortization_A77241019DE1B87EDD3B5F4137457EF6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_8F458A4C961EE93A9E285F41C04C3DDF" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_F233A2926C000DC6173E5F413744EC5F" xlink:to="loc_us-gaap_Depreciation_8F458A4C961EE93A9E285F41C04C3DDF" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/PropertyAndEquipmentNetTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnaudited" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/QuarterlyFinancialInformationUnauditedTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomers" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersAccountsReceivableNetDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersCommissionAssetBalancesDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersDeferredRevenuesDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_F0E36D4864490C0610E25F4BC8B10788" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_E38072C1998018BB608B5F4BC8AF9142" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_F0E36D4864490C0610E25F4BC8B10788" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_E38072C1998018BB608B5F4BC8AF9142" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_338B8BEDCDA086D2D7585F4BC8B0BA9B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_E38072C1998018BB608B5F4BC8AF9142" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_338B8BEDCDA086D2D7585F4BC8B0BA9B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DD9AD2206E112046CC25F4BC8B0DC01" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_E38072C1998018BB608B5F4BC8AF9142" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DD9AD2206E112046CC25F4BC8B0DC01" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FE9262B927DAD79C79675F4BC8B08DB2_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DD9AD2206E112046CC25F4BC8B0DC01" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FE9262B927DAD79C79675F4BC8B08DB2_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FE9262B927DAD79C79675F4BC8B08DB2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_5DD9AD2206E112046CC25F4BC8B0DC01" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FE9262B927DAD79C79675F4BC8B08DB2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_9FE14A3592BE563D52295F4BC8B058C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FE9262B927DAD79C79675F4BC8B08DB2" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_9FE14A3592BE563D52295F4BC8B058C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_F81736B442047C4EDBAA5F4BC8B1B7E5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_FE9262B927DAD79C79675F4BC8B08DB2" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_F81736B442047C4EDBAA5F4BC8B1B7E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueCurrent" xlink:label="loc_us-gaap_DeferredRevenueCurrent_60DE63EB4C92F762B70B5F4BC8B2F872" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_F0E36D4864490C0610E25F4BC8B10788" xlink:to="loc_us-gaap_DeferredRevenueCurrent_60DE63EB4C92F762B70B5F4BC8B2F872" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueNoncurrent" xlink:label="loc_us-gaap_DeferredRevenueNoncurrent_E22CBD95A7E68CD35E445F4BC8B225D7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_F0E36D4864490C0610E25F4BC8B10788" xlink:to="loc_us-gaap_DeferredRevenueNoncurrent_E22CBD95A7E68CD35E445F4BC8B225D7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenue" xlink:label="loc_us-gaap_DeferredRevenue_BF74509F9CBAE2FBF52C5F4BC8B2C781" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_F0E36D4864490C0610E25F4BC8B10788" xlink:to="loc_us-gaap_DeferredRevenue_BF74509F9CBAE2FBF52C5F4BC8B2C781" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersNarrativeDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable" xlink:label="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_4F076766C97BCBFA0F5535806FF5BF05" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_4F076766C97BCBFA0F5535806FF5BF05" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductOrServiceAxis" xlink:label="loc_srt_ProductOrServiceAxis_CC288D1F1E9E32758E9D35806FF5FF8D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_4F076766C97BCBFA0F5535806FF5BF05" xlink:to="loc_srt_ProductOrServiceAxis_CC288D1F1E9E32758E9D35806FF5FF8D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_10E73553EE3032DDE00E35806FF61AA0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_CC288D1F1E9E32758E9D35806FF5FF8D" xlink:to="loc_srt_ProductsAndServicesDomain_10E73553EE3032DDE00E35806FF61AA0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_ProductsAndServicesDomain" xlink:label="loc_srt_ProductsAndServicesDomain_10E73553EE3032DDE00E35806FF61AA0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_CC288D1F1E9E32758E9D35806FF5FF8D" xlink:to="loc_srt_ProductsAndServicesDomain_10E73553EE3032DDE00E35806FF61AA0" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_SubscriptionRevenueMember" xlink:label="loc_qlys_SubscriptionRevenueMember_65AD0D455B30F0B6C8DB35806FF63E9C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_10E73553EE3032DDE00E35806FF61AA0" xlink:to="loc_qlys_SubscriptionRevenueMember_65AD0D455B30F0B6C8DB35806FF63E9C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_E811EE046FD186E6B09935806FF60901" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_4F076766C97BCBFA0F5535806FF5BF05" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_E811EE046FD186E6B09935806FF60901" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_3E3159122B573DEEC89435806FF78141_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_E811EE046FD186E6B09935806FF60901" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_3E3159122B573DEEC89435806FF78141_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain" xlink:label="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_3E3159122B573DEEC89435806FF78141" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionAxis_E811EE046FD186E6B09935806FF60901" xlink:to="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_3E3159122B573DEEC89435806FF78141" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member" xlink:label="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_B6B45B024A09026F5C5635806FF75F18" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InitialApplicationPeriodCumulativeEffectTransitionDomain_3E3159122B573DEEC89435806FF78141" xlink:to="loc_us-gaap_DifferenceBetweenRevenueGuidanceInEffectBeforeAndAfterTopic606Member_B6B45B024A09026F5C5635806FF75F18" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AdjustmentsForNewAccountingPronouncementsAxis" xlink:label="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_774A328A5F25B4A239E235806FF7AAC7" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionTable_4F076766C97BCBFA0F5535806FF5BF05" xlink:to="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_774A328A5F25B4A239E235806FF7AAC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_5ED084E433D64C05FBD835806FF79F4C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_774A328A5F25B4A239E235806FF7AAC7" xlink:to="loc_us-gaap_TypeOfAdoptionMember_5ED084E433D64C05FBD835806FF79F4C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_TypeOfAdoptionMember" xlink:label="loc_us-gaap_TypeOfAdoptionMember_5ED084E433D64C05FBD835806FF79F4C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AdjustmentsForNewAccountingPronouncementsAxis_774A328A5F25B4A239E235806FF7AAC7" xlink:to="loc_us-gaap_TypeOfAdoptionMember_5ED084E433D64C05FBD835806FF79F4C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_3A1210FD73EF121EAC7835806FF8DEED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfAdoptionMember_5ED084E433D64C05FBD835806FF79F4C" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_3A1210FD73EF121EAC7835806FF8DEED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_101BE66B0F598FADCA7435806FF8C643" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_101BE66B0F598FADCA7435806FF8C643" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_CommissionAsset" xlink:label="loc_qlys_CommissionAsset_178560AA586A105669C035806FF81757" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_qlys_CommissionAsset_178560AA586A105669C035806FF81757" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredTaxLiabilities" xlink:label="loc_us-gaap_DeferredTaxLiabilities_592C8D78EF1B7443A08535806FF9917B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_us-gaap_DeferredTaxLiabilities_592C8D78EF1B7443A08535806FF9917B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AmortizationOfDeferredSalesCommissions" xlink:label="loc_us-gaap_AmortizationOfDeferredSalesCommissions_E37E3F9AB6F9BE5BB23F35806FF95EBE" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_us-gaap_AmortizationOfDeferredSalesCommissions_E37E3F9AB6F9BE5BB23F35806FF95EBE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_27256ADF1E967854F09F35806FF9CD60" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_27256ADF1E967854F09F35806FF9CD60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate" xlink:label="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_444E937FB19D9BF2A6A935806FF9F1DA" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueInitialApplicationPeriodCumulativeEffectTransitionLineItems_CC87AC216AC4CBFC59AA35806FF88DF0" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_444E937FB19D9BF2A6A935806FF9F1DA" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersRemainingPerformanceObligationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_4BF0E04D558EDC4E52E55FDABC9ABF7F" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_A7419493DA2C6804A4F95FDABC996A8E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_4BF0E04D558EDC4E52E55FDABC9ABF7F" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_A7419493DA2C6804A4F95FDABC996A8E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_FA9361E1B5CA8D52993E5FDABC990DBD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionTable_A7419493DA2C6804A4F95FDABC996A8E" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_FA9361E1B5CA8D52993E5FDABC990DBD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_994A695C7E7A784D047E5FDD9BDCB2B6" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionLineItems_4BF0E04D558EDC4E52E55FDABC9ABF7F" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_994A695C7E7A784D047E5FDD9BDCB2B6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersRevenueBySalesChannelDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueLineItems" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_2F91D74B05961451A18C358071DE3E25" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DisaggregationOfRevenueTable" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_CA83AF4E4A1112C672C8358071DC64E5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_2F91D74B05961451A18C358071DE3E25" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_CA83AF4E4A1112C672C8358071DC64E5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A9FC7A5B9372D40F1A64358071DC74BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA83AF4E4A1112C672C8358071DC64E5" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A9FC7A5B9372D40F1A64358071DC74BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_53C2D355DEC8AC56B6FA358071DC8622_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A9FC7A5B9372D40F1A64358071DC74BD" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_53C2D355DEC8AC56B6FA358071DC8622_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_53C2D355DEC8AC56B6FA358071DC8622" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_A9FC7A5B9372D40F1A64358071DC74BD" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_53C2D355DEC8AC56B6FA358071DC8622" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_413A75D58F1604A12830358071DD6A7E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_53C2D355DEC8AC56B6FA358071DC8622" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_413A75D58F1604A12830358071DD6A7E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_CA4658B11A46B547F1FE358071DD4D06" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_53C2D355DEC8AC56B6FA358071DC8622" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_CA4658B11A46B547F1FE358071DD4D06" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelAxis" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelAxis_55628835D26D804C3AE0358071DDD85E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_CA83AF4E4A1112C672C8358071DC64E5" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelAxis_55628835D26D804C3AE0358071DDD85E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_99A749016B3D5CE0D4A1358071DDDFDA_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_55628835D26D804C3AE0358071DDD85E" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_99A749016B3D5CE0D4A1358071DDDFDA_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ContractWithCustomerSalesChannelDomain" xlink:label="loc_us-gaap_ContractWithCustomerSalesChannelDomain_99A749016B3D5CE0D4A1358071DDDFDA" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelAxis_55628835D26D804C3AE0358071DDD85E" xlink:to="loc_us-gaap_ContractWithCustomerSalesChannelDomain_99A749016B3D5CE0D4A1358071DDDFDA" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SalesChannelDirectlyToConsumerMember" xlink:label="loc_us-gaap_SalesChannelDirectlyToConsumerMember_52DE9717415762A3F69C358071DE673E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_99A749016B3D5CE0D4A1358071DDDFDA" xlink:to="loc_us-gaap_SalesChannelDirectlyToConsumerMember_52DE9717415762A3F69C358071DE673E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SalesChannelThroughIntermediaryMember" xlink:label="loc_us-gaap_SalesChannelThroughIntermediaryMember_2E7ABF13BC58C7D95E60358071DEF23B" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ContractWithCustomerSalesChannelDomain_99A749016B3D5CE0D4A1358071DDDFDA" xlink:to="loc_us-gaap_SalesChannelThroughIntermediaryMember_2E7ABF13BC58C7D95E60358071DEF23B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_5710F8F001D4704DC78A358071DE7FA3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_2F91D74B05961451A18C358071DE3E25" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax_5710F8F001D4704DC78A358071DE7FA3" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/RevenueFromContractsWithCustomersUnbilledContractsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementLineItems" xlink:label="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementByTypeTable" xlink:label="loc_us-gaap_DeferredRevenueArrangementByTypeTable_C035F57EF2499135C38D3580710FE170" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_us-gaap_DeferredRevenueArrangementByTypeTable_C035F57EF2499135C38D3580710FE170" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeAxis" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_8BF513F08F00E3852B553580710F87C2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DeferredRevenueArrangementByTypeTable_C035F57EF2499135C38D3580710FE170" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_8BF513F08F00E3852B553580710F87C2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_38A01E0228BD13D7358235807110968B_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_8BF513F08F00E3852B553580710F87C2" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_38A01E0228BD13D7358235807110968B_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DeferredRevenueArrangementTypeDomain" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_38A01E0228BD13D7358235807110968B" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_8BF513F08F00E3852B553580710F87C2" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_38A01E0228BD13D7358235807110968B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201409Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201409Member_AE5DBE0A69822AFCFA55358071103D41" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_38A01E0228BD13D7358235807110968B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201409Member_AE5DBE0A69822AFCFA55358071103D41" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AccountingStandardsUpdate201602Member" xlink:label="loc_us-gaap_AccountingStandardsUpdate201602Member_4444A1590B462A65BA99358071106C26" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_38A01E0228BD13D7358235807110968B" xlink:to="loc_us-gaap_AccountingStandardsUpdate201602Member_4444A1590B462A65BA99358071106C26" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_BC1E8B7BFEDA6499B8B7358071103524" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInRemainderOfYear_BC1E8B7BFEDA6499B8B7358071103524" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_762E74EDB75109D07B47358071117CFE" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearTwo_762E74EDB75109D07B47358071117CFE" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearThree" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_A5AC0D959B5432358CE3358071119FE8" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearThree_A5AC0D959B5432358CE3358071119FE8" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFour" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_737470A7225E7E88635F35807111B659" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFour_737470A7225E7E88635F35807111B659" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledInYearFive" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_3B1A64C68552430501043580711108C7" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledInYearFive_3B1A64C68552430501043580711108C7" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_UnbilledReceivablesExpectedToBeBilledThereafter" xlink:label="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_4F64C648CBD01640CE38358071122F03" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_qlys_UnbilledReceivablesExpectedToBeBilledThereafter_4F64C648CBD01640CE38358071122F03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate" xlink:label="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_8888976DB76CD75A505135807112FE0B" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementLineItems_00A0541E166178B6A84C358071101C10" xlink:to="loc_us-gaap_UnbilledReceivablesNotBillableAtBalanceSheetDate_8888976DB76CD75A505135807112FE0B" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccounts" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/ScheduleIiScheduleOfValuationAndQualifyingAccountsDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicArea" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_F5BD4AAF5E24253F6A475FE4BEA180C2" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8FB1417A6DF5ABA32E775FE4BE9F5AAC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_F5BD4AAF5E24253F6A475FE4BEA180C2" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8FB1417A6DF5ABA32E775FE4BE9F5AAC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_StatementGeographicalAxis" xlink:label="loc_srt_StatementGeographicalAxis_BBC4909D6CF3E210E3375FE4BE9F6909" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_8FB1417A6DF5ABA32E775FE4BE9F5AAC" xlink:to="loc_srt_StatementGeographicalAxis_BBC4909D6CF3E210E3375FE4BE9F6909" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_BBC4909D6CF3E210E3375FE4BE9F6909" xlink:to="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_SegmentGeographicalDomain" xlink:label="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_BBC4909D6CF3E210E3375FE4BE9F6909" xlink:to="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_US" xlink:label="loc_country_US_610B1F1C5BE25290C7095FE4BEA093A4" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0" xlink:to="loc_country_US_610B1F1C5BE25290C7095FE4BEA093A4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_OtherGeographicAreasMember" xlink:label="loc_qlys_OtherGeographicAreasMember_7F5A47ECCD701C28C4955FE4BEA005B2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0" xlink:to="loc_qlys_OtherGeographicAreasMember_7F5A47ECCD701C28C4955FE4BEA005B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.sec.gov/country/2017/country-2017-01-31.xsd#country_IN" xlink:label="loc_country_IN_EF04D6053ACAC98202075FFAA3B5EA30" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_FECEDBA1776DE03A59D95FE4BEA093E0" xlink:to="loc_country_IN_EF04D6053ACAC98202075FFAA3B5EA30" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_7A524E43363609F997995FE4BEA1327F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_F5BD4AAF5E24253F6A475FE4BEA180C2" xlink:to="loc_us-gaap_NumberOfOperatingSegments_7A524E43363609F997995FE4BEA1327F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_9943DCF8D020FC8B8DED5FE4BEA1C5A4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_F5BD4AAF5E24253F6A475FE4BEA180C2" xlink:to="loc_us-gaap_Revenues_9943DCF8D020FC8B8DED5FE4BEA1C5A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_A9F19626953EC3D651505FE4BEA123F1" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_F5BD4AAF5E24253F6A475FE4BEA180C2" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_A9F19626953EC3D651505FE4BEA123F1" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/SegmentInformationAndInformationAboutGeographicAreaTables" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensation" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationCommonStockAndPreferredStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787BD5EF97A62944BF9435E653453C5C" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9BD2759C629D7EE06AF335E65345C68D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787BD5EF97A62944BF9435E653453C5C" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9BD2759C629D7EE06AF335E65345C68D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_B44F3C96915B17CA016235E6534507D0" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9BD2759C629D7EE06AF335E65345C68D" xlink:to="loc_us-gaap_PlanNameAxis_B44F3C96915B17CA016235E6534507D0" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_E26560E59A00B70C23E135E65345E128_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_B44F3C96915B17CA016235E6534507D0" xlink:to="loc_us-gaap_PlanNameDomain_E26560E59A00B70C23E135E65345E128_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_E26560E59A00B70C23E135E65345E128" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_B44F3C96915B17CA016235E6534507D0" xlink:to="loc_us-gaap_PlanNameDomain_E26560E59A00B70C23E135E65345E128" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_86C0B8FB89F4698DD09235E65345293E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E26560E59A00B70C23E135E65345E128" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_86C0B8FB89F4698DD09235E65345293E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_A1C37BF034229E8FB92A35E653459C96" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E26560E59A00B70C23E135E65345E128" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_A1C37BF034229E8FB92A35E653459C96" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_8B4B75CF72415C72A63F35E6534532E4" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9BD2759C629D7EE06AF335E65345C68D" xlink:to="loc_us-gaap_StatementClassOfStockAxis_8B4B75CF72415C72A63F35E6534532E4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5E7105E3E4480763A16D35E65345D0A5_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_8B4B75CF72415C72A63F35E6534532E4" xlink:to="loc_us-gaap_ClassOfStockDomain_5E7105E3E4480763A16D35E65345D0A5_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5E7105E3E4480763A16D35E65345D0A5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_8B4B75CF72415C72A63F35E6534532E4" xlink:to="loc_us-gaap_ClassOfStockDomain_5E7105E3E4480763A16D35E65345D0A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_17B028D20FD6634CC77C35E65345C52D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5E7105E3E4480763A16D35E65345D0A5" xlink:to="loc_us-gaap_PreferredStockMember_17B028D20FD6634CC77C35E65345C52D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_844774799E09C7E8EED035E653451E50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787BD5EF97A62944BF9435E653453C5C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_844774799E09C7E8EED035E653451E50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_33CE66DE7644AB19E82E35E653456D51" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787BD5EF97A62944BF9435E653453C5C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_33CE66DE7644AB19E82E35E653456D51" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_6DB06B40FE9BF2A5279735E65345B904" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787BD5EF97A62944BF9435E653453C5C" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_6DB06B40FE9BF2A5279735E65345B904" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_F93AEADE8AA440D31DF335E65345DE62" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_787BD5EF97A62944BF9435E653453C5C" xlink:to="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_F93AEADE8AA440D31DF335E65345DE62" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_625AA5853956A1D7D30935E65345873E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_F93AEADE8AA440D31DF335E65345DE62" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_625AA5853956A1D7D30935E65345873E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_21BB52A1FFCB78824D0935E65345B733" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_F93AEADE8AA440D31DF335E65345DE62" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_21BB52A1FFCB78824D0935E65345B733" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_9BA4A06326282B67858F35E65345D452" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_F93AEADE8AA440D31DF335E65345DE62" xlink:to="loc_us-gaap_PreferredStockSharesIssued_9BA4A06326282B67858F35E65345D452" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_28E3F39FE69BDD701FD835E6534581A6" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_F93AEADE8AA440D31DF335E65345DE62" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_28E3F39FE69BDD701FD835E6534581A6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationExpenseDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_1FB486FEE6C0413054045FE4BF153012" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_1FB486FEE6C0413054045FE4BF153012" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_D6A34A8DD17D108F40A95FE4BF16DC50" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_1FB486FEE6C0413054045FE4BF153012" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_D6A34A8DD17D108F40A95FE4BF16DC50" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_D6A34A8DD17D108F40A95FE4BF16DC50" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_D6A34A8DD17D108F40A95FE4BF16DC50" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_619A21836E9F44A241385FE4BF16DB60" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9" xlink:to="loc_us-gaap_CostOfSalesMember_619A21836E9F44A241385FE4BF16DB60" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_CC040D4A857895D5E9355FE4BF173E95" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_CC040D4A857895D5E9355FE4BF173E95" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SellingAndMarketingExpenseMember" xlink:label="loc_us-gaap_SellingAndMarketingExpenseMember_420D73DFDE05B5E9855F5FE4BF172627" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9" xlink:to="loc_us-gaap_SellingAndMarketingExpenseMember_420D73DFDE05B5E9855F5FE4BF172627" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_GeneralAndAdministrativeExpenseMember" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpenseMember_DE275E4CD964CC1C22145FE4BF17C320" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_3F20101258C66E5DDDAF5FE4BF168BA9" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpenseMember_DE275E4CD964CC1C22145FE4BF17C320" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_765749FFCE904339E09A5FE4BF17E084" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_1FB486FEE6C0413054045FE4BF153012" xlink:to="loc_us-gaap_AwardTypeAxis_765749FFCE904339E09A5FE4BF17E084" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_995E9E895F4D3549976D5FE4BF1709FD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_765749FFCE904339E09A5FE4BF17E084" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_995E9E895F4D3549976D5FE4BF1709FD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_995E9E895F4D3549976D5FE4BF1709FD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_765749FFCE904339E09A5FE4BF17E084" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_995E9E895F4D3549976D5FE4BF1709FD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_9732067B81930CB94A8E5FE4BF17EB45" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_995E9E895F4D3549976D5FE4BF1709FD" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_9732067B81930CB94A8E5FE4BF17EB45" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_F3E844D1339A0961BC115FE4BF181F07" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_995E9E895F4D3549976D5FE4BF1709FD" xlink:to="loc_us-gaap_EmployeeStockOptionMember_F3E844D1339A0961BC115FE4BF181F07" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_0DCDFC8F296ECAD47D325FE4BF1806DB" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_0DCDFC8F296ECAD47D325FE4BF1806DB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_B1B4B76541732D6F39125FE4BF18740A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_B1B4B76541732D6F39125FE4BF18740A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_2A20CEB8DF98B9B8804E5FE4BF1805A2" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_2A20CEB8DF98B9B8804E5FE4BF1805A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims" xlink:label="loc_us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims_BB0D3A98D3A4EA05F5505FE4BF1945E5" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:to="loc_us-gaap_IssuanceOfStockAndWarrantsForServicesOrClaims_BB0D3A98D3A4EA05F5505FE4BF1945E5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_358744DE7103F1C6A86F5FE4BF19AE9A" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_00D5C4F831AD5D5B74CF5FE4BF180CCB" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_358744DE7103F1C6A86F5FE4BF19AE9A" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationFairValueAssumptionsStockOptionsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_56241679D0F759AB016E35E6531F077A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_28E9C80112FB2745CA5F35E6531FC431" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_56241679D0F759AB016E35E6531F077A" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_28E9C80112FB2745CA5F35E6531FC431" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_AE1D19C281A6F17AFE9935E6531F3467" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_28E9C80112FB2745CA5F35E6531FC431" xlink:to="loc_srt_RangeAxis_AE1D19C281A6F17AFE9935E6531F3467" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_CB0B9F05E152D81FC1B235E6531FA8E3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_AE1D19C281A6F17AFE9935E6531F3467" xlink:to="loc_srt_RangeMember_CB0B9F05E152D81FC1B235E6531FA8E3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_CB0B9F05E152D81FC1B235E6531FA8E3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_AE1D19C281A6F17AFE9935E6531F3467" xlink:to="loc_srt_RangeMember_CB0B9F05E152D81FC1B235E6531FA8E3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_618913648E4277056F6735E6531F25EE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_CB0B9F05E152D81FC1B235E6531FA8E3" xlink:to="loc_srt_MinimumMember_618913648E4277056F6735E6531F25EE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_0F538450DCBE1A9A4C4A35E6531F3714" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_CB0B9F05E152D81FC1B235E6531FA8E3" xlink:to="loc_srt_MaximumMember_0F538450DCBE1A9A4C4A35E6531F3714" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_499D0363D5559BB8C86335E6531FFF6C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_28E9C80112FB2745CA5F35E6531FC431" xlink:to="loc_us-gaap_AwardTypeAxis_499D0363D5559BB8C86335E6531FFF6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E145F4FA7220046140B335E6531F39B3_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_499D0363D5559BB8C86335E6531FFF6C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E145F4FA7220046140B335E6531F39B3_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E145F4FA7220046140B335E6531F39B3" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_499D0363D5559BB8C86335E6531FFF6C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E145F4FA7220046140B335E6531F39B3" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_59D4CC5F95ECB8E88A8335E6531FF064" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_E145F4FA7220046140B335E6531F39B3" xlink:to="loc_us-gaap_EmployeeStockOptionMember_59D4CC5F95ECB8E88A8335E6531FF064" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_1367A01016033A277FA835E6531F9B9E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_56241679D0F759AB016E35E6531F077A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_1367A01016033A277FA835E6531F9B9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_9A1C3EEED04C27C5982B35E6531FBA0C" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_56241679D0F759AB016E35E6531F077A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_9A1C3EEED04C27C5982B35E6531FBA0C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_B01E7429FE5B9A63EE9735E6531FC865" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_56241679D0F759AB016E35E6531F077A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_B01E7429FE5B9A63EE9735E6531FC865" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_DD6A2F67FBB25BBEE5C435E6531F6895" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_56241679D0F759AB016E35E6531F077A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_DD6A2F67FBB25BBEE5C435E6531F6895" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationOptionsOutstandingAndVestedDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_C418774F6AACE82CB8CB35E653008580" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_C418774F6AACE82CB8CB35E653008580" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_862881643C3BA9EC6E1A35E6530027FE" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_C418774F6AACE82CB8CB35E653008580" xlink:to="loc_us-gaap_PlanNameAxis_862881643C3BA9EC6E1A35E6530027FE" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_FE6F46FA239B35AE698935E653006654_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_862881643C3BA9EC6E1A35E6530027FE" xlink:to="loc_us-gaap_PlanNameDomain_FE6F46FA239B35AE698935E653006654_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_FE6F46FA239B35AE698935E653006654" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_862881643C3BA9EC6E1A35E6530027FE" xlink:to="loc_us-gaap_PlanNameDomain_FE6F46FA239B35AE698935E653006654" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_E81E2713AC0BBC3E894635E65300575D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_FE6F46FA239B35AE698935E653006654" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_E81E2713AC0BBC3E894635E65300575D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_AA597D496AFC15F9ABB035E65300154E" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_C418774F6AACE82CB8CB35E653008580" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_AA597D496AFC15F9ABB035E65300154E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_AA597D496AFC15F9ABB035E65300154E" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_AA597D496AFC15F9ABB035E65300154E" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeOneMember" xlink:label="loc_qlys_ExercisePriceRangeOneMember_1B16C1D37431A43E99BD35E653004E3A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeOneMember_1B16C1D37431A43E99BD35E653004E3A" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeTwoMember" xlink:label="loc_qlys_ExercisePriceRangeTwoMember_929A236488F447C6878C35E6530056A1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeTwoMember_929A236488F447C6878C35E6530056A1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeThreeMember" xlink:label="loc_qlys_ExercisePriceRangeThreeMember_17E86FA072FB80927F5235E653002FE4" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeThreeMember_17E86FA072FB80927F5235E653002FE4" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeFourMember" xlink:label="loc_qlys_ExercisePriceRangeFourMember_521882AF4AE5B23BD54B35E653008A82" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeFourMember_521882AF4AE5B23BD54B35E653008A82" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeFiveMember" xlink:label="loc_qlys_ExercisePriceRangeFiveMember_7A514CDD4E1E0D204FD535E653004272" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeFiveMember_7A514CDD4E1E0D204FD535E653004272" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeSixMember" xlink:label="loc_qlys_ExercisePriceRangeSixMember_C044A1068E97B6A6E61035E65300FB18" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeSixMember_C044A1068E97B6A6E61035E65300FB18" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeSevenMember" xlink:label="loc_qlys_ExercisePriceRangeSevenMember_5908DDD4833253444A8635E653102B00" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeSevenMember_5908DDD4833253444A8635E653102B00" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeEightMember" xlink:label="loc_qlys_ExercisePriceRangeEightMember_76A63BD20284AF378F4C35E653101B89" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeEightMember_76A63BD20284AF378F4C35E653101B89" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeNineMember" xlink:label="loc_qlys_ExercisePriceRangeNineMember_9DB8438EE9AF31D93E2E35E653109FA1" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeNineMember_9DB8438EE9AF31D93E2E35E653109FA1" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ExercisePriceRangeTenMember" xlink:label="loc_qlys_ExercisePriceRangeTenMember_53FA35D47D8DE17A4EBC35E6531009A5" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_71AB5B688A018858305535E653004B1E" xlink:to="loc_qlys_ExercisePriceRangeTenMember_53FA35D47D8DE17A4EBC35E6531009A5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_7A8573F9784F4FB17AD535E653102C2E" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_C418774F6AACE82CB8CB35E653008580" xlink:to="loc_us-gaap_AwardTypeAxis_7A8573F9784F4FB17AD535E653102C2E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5CA77A5918F6E8415A0535E653105C79_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_7A8573F9784F4FB17AD535E653102C2E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5CA77A5918F6E8415A0535E653105C79_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5CA77A5918F6E8415A0535E653105C79" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_7A8573F9784F4FB17AD535E653102C2E" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5CA77A5918F6E8415A0535E653105C79" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_3A0755CD9145BD8290B935E653106209" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5CA77A5918F6E8415A0535E653105C79" xlink:to="loc_us-gaap_EmployeeStockOptionMember_3A0755CD9145BD8290B935E653106209" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_4DC2224E337BB06C025E35E65310528F" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_4DC2224E337BB06C025E35E65310528F" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_6C2BDB8DBFB88659C62F35E653102808" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_6C2BDB8DBFB88659C62F35E653102808" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_630569AC100681F0A3AC35E6531062EB" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_630569AC100681F0A3AC35E6531062EB" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_D844106FF3543BC6C4CE35E653102A16" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_D844106FF3543BC6C4CE35E653102A16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_9B96B9A3C7AF643F5D3635E6531090AB" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_9B96B9A3C7AF643F5D3635E6531090AB" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions" xlink:label="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions_7E0BD956743AE84C630435E653100370" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfVestedOptions_7E0BD956743AE84C630435E653100370" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice_9F9786D4171EA084B43635E65310AA84" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_qlys_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeVestedOptionsWeightedAverageExercisePrice_9F9786D4171EA084B43635E65310AA84" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5B5EAB3E22DE7FBE0BFE35E65310B104" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_5B5EAB3E22DE7FBE0BFE35E65310B104" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue_1E3BD8E12660E114890A35E653109B9E" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantedInPeriodTotalFairValue_1E3BD8E12660E114890A35E653109B9E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_2871AD8F49649F6E30BD35E65310E8D6" xlink:type="locator" />
    <link:definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_6FD6D0892BF6868FCCE735E653107765" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue_2871AD8F49649F6E30BD35E65310E8D6" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationPerformanceBasedStockOptionsAndRestrictedStockUnitsDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_833300826D56166224395FE4BEE40F2D" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F4210A60BECA63DD32965FE4BEE143FC" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_833300826D56166224395FE4BEE40F2D" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F4210A60BECA63DD32965FE4BEE143FC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_8C389AC841DC323950BF5FE4BEE124B2" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F4210A60BECA63DD32965FE4BEE143FC" xlink:to="loc_us-gaap_PlanNameAxis_8C389AC841DC323950BF5FE4BEE124B2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21CE535542314EBE115A5FE4BEE1783C_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_8C389AC841DC323950BF5FE4BEE124B2" xlink:to="loc_us-gaap_PlanNameDomain_21CE535542314EBE115A5FE4BEE1783C_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_21CE535542314EBE115A5FE4BEE1783C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_8C389AC841DC323950BF5FE4BEE124B2" xlink:to="loc_us-gaap_PlanNameDomain_21CE535542314EBE115A5FE4BEE1783C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2018PerformanceBasedStockOptionsMember" xlink:label="loc_qlys_A2018PerformanceBasedStockOptionsMember_A465491546F2F2B1FD225FE4BEE12128" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_21CE535542314EBE115A5FE4BEE1783C" xlink:to="loc_qlys_A2018PerformanceBasedStockOptionsMember_A465491546F2F2B1FD225FE4BEE12128" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2019PerformanceBasedStockOptionsMember" xlink:label="loc_qlys_A2019PerformanceBasedStockOptionsMember_EA8F12C1B695AE6246C25FE4BEE2A951" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_21CE535542314EBE115A5FE4BEE1783C" xlink:to="loc_qlys_A2019PerformanceBasedStockOptionsMember_EA8F12C1B695AE6246C25FE4BEE2A951" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_F583ADD656AEAF6D9A8A5FE4BEE26E03" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F4210A60BECA63DD32965FE4BEE143FC" xlink:to="loc_us-gaap_AwardTypeAxis_F583ADD656AEAF6D9A8A5FE4BEE26E03" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5FFF56A06AC817DCE0915FE4BEE2AB49_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_F583ADD656AEAF6D9A8A5FE4BEE26E03" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5FFF56A06AC817DCE0915FE4BEE2AB49_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5FFF56A06AC817DCE0915FE4BEE2AB49" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_F583ADD656AEAF6D9A8A5FE4BEE26E03" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5FFF56A06AC817DCE0915FE4BEE2AB49" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_2F8926F53C815C17086D5FE4BEE265F5" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5FFF56A06AC817DCE0915FE4BEE2AB49" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_2F8926F53C815C17086D5FE4BEE265F5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_OptionOnSecuritiesMember" xlink:label="loc_us-gaap_OptionOnSecuritiesMember_CAC8D28591D85CB3B7FA5FE4BEE29DC7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5FFF56A06AC817DCE0915FE4BEE2AB49" xlink:to="loc_us-gaap_OptionOnSecuritiesMember_CAC8D28591D85CB3B7FA5FE4BEE29DC7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_24302227BC8CAB38BDC25FE4BEE3732B" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F4210A60BECA63DD32965FE4BEE143FC" xlink:to="loc_us-gaap_VestingAxis_24302227BC8CAB38BDC25FE4BEE3732B" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_24302227BC8CAB38BDC25FE4BEE3732B" xlink:to="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_24302227BC8CAB38BDC25FE4BEE3732B" xlink:to="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_00C2291D2A9314CB87635FE4BEE3CB84" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D" xlink:to="loc_us-gaap_PerformanceSharesMember_00C2291D2A9314CB87635FE4BEE3CB84" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_TimebasedsharedbasedcompensationMember" xlink:label="loc_qlys_TimebasedsharedbasedcompensationMember_296A0F4566BFBECFB9B05FE4BEE3DDD5" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D" xlink:to="loc_qlys_TimebasedsharedbasedcompensationMember_296A0F4566BFBECFB9B05FE4BEE3DDD5" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_DD7ED7973DCEA5B177535FE534233EEA" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_58475D52AD7A15E5EEA45FE4BEE3591D" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_DD7ED7973DCEA5B177535FE534233EEA" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AwardvestingtypeAxis" xlink:label="loc_qlys_AwardvestingtypeAxis_DB290CC6AC86DC4C7D835FE4BEE49499" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_F4210A60BECA63DD32965FE4BEE143FC" xlink:to="loc_qlys_AwardvestingtypeAxis_DB290CC6AC86DC4C7D835FE4BEE49499" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AwardvestingtypeDomain" xlink:label="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_qlys_AwardvestingtypeAxis_DB290CC6AC86DC4C7D835FE4BEE49499" xlink:to="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1_default" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_AwardvestingtypeDomain" xlink:label="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_qlys_AwardvestingtypeAxis_DB290CC6AC86DC4C7D835FE4BEE49499" xlink:to="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_35E6B24E3EEE29FB37D85FE4BEE49052" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_35E6B24E3EEE29FB37D85FE4BEE49052" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_6677E562B0F8C39E29375FE4BEE4F2A2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_6677E562B0F8C39E29375FE4BEE4F2A2" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_AE9226DA65E497A5C99C5FE4BEE4D90A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_AwardvestingtypeDomain_3164607CFABDD68E922F5FE4BEE4D5D1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_AE9226DA65E497A5C99C5FE4BEE4D90A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_CC4524EA381045A192EF5FE4BEE54F46" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_833300826D56166224395FE4BEE40F2D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_CC4524EA381045A192EF5FE4BEE54F46" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_D30C4D8A984E2D4E48105FE4BEE578EC" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_833300826D56166224395FE4BEE40F2D" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_D30C4D8A984E2D4E48105FE4BEE578EC" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_SharebasedCompensationArrangementbySharebasedPaymentAwardVestingPeriodNumberOfQuarterlyPeriods" xlink:label="loc_qlys_SharebasedCompensationArrangementbySharebasedPaymentAwardVestingPeriodNumberOfQuarterlyPeriods_F7851054B968D57171975FE4BEE5A27A" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_833300826D56166224395FE4BEE40F2D" xlink:to="loc_qlys_SharebasedCompensationArrangementbySharebasedPaymentAwardVestingPeriodNumberOfQuarterlyPeriods_F7851054B968D57171975FE4BEE5A27A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_BDC442D125CDEDF7617F5FE4BEE5AD04" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_833300826D56166224395FE4BEE40F2D" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_BDC442D125CDEDF7617F5FE4BEE5AD04" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationPlanInformationDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7C765CB527D5BB701946367132AAACB8" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7C765CB527D5BB701946367132AAACB8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_E49C61BF5622BC14D662367132AB7354" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7C765CB527D5BB701946367132AAACB8" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_E49C61BF5622BC14D662367132AB7354" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_12C7D87DA4FAEB0D0698367132AC4A24_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_E49C61BF5622BC14D662367132AB7354" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_12C7D87DA4FAEB0D0698367132AC4A24_default" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain" xlink:label="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_12C7D87DA4FAEB0D0698367132AC4A24" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureAxis_E49C61BF5622BC14D662367132AB7354" xlink:to="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_12C7D87DA4FAEB0D0698367132AC4A24" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_IncreaseOfNumberOfSharesOptionMember" xlink:label="loc_qlys_IncreaseOfNumberOfSharesOptionMember_337158CFDFE946D0FF54367132AC4555" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_12C7D87DA4FAEB0D0698367132AC4A24" xlink:to="loc_qlys_IncreaseOfNumberOfSharesOptionMember_337158CFDFE946D0FF54367132AC4555" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember" xlink:label="loc_qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember_23BA785F0F7888F2FA19367132ACB9A7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_qlys_EquityIncentivePlanAnnualIncreaseFeatureDomain_12C7D87DA4FAEB0D0698367132AC4A24" xlink:to="loc_qlys_IncreaseOfPercentageOfSharesOutstandingOptionMember_23BA785F0F7888F2FA19367132ACB9A7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameAxis" xlink:label="loc_us-gaap_PlanNameAxis_9DBA7771AD8158D74F38367132B16C92" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7C765CB527D5BB701946367132AAACB8" xlink:to="loc_us-gaap_PlanNameAxis_9DBA7771AD8158D74F38367132B16C92" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_E32159F93D10FEF34D3E367132B10084_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_9DBA7771AD8158D74F38367132B16C92" xlink:to="loc_us-gaap_PlanNameDomain_E32159F93D10FEF34D3E367132B10084_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_PlanNameDomain" xlink:label="loc_us-gaap_PlanNameDomain_E32159F93D10FEF34D3E367132B10084" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_9DBA7771AD8158D74F38367132B16C92" xlink:to="loc_us-gaap_PlanNameDomain_E32159F93D10FEF34D3E367132B10084" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2012EquityIncentivePlanMember" xlink:label="loc_qlys_A2012EquityIncentivePlanMember_B4EB8A5B10B5385DC625367132B29F2C" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E32159F93D10FEF34D3E367132B10084" xlink:to="loc_qlys_A2012EquityIncentivePlanMember_B4EB8A5B10B5385DC625367132B29F2C" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_A2000EquityIncentivePlanMember" xlink:label="loc_qlys_A2000EquityIncentivePlanMember_31693FF78513143D342B367132B2E6E7" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_E32159F93D10FEF34D3E367132B10084" xlink:to="loc_qlys_A2000EquityIncentivePlanMember_31693FF78513143D342B367132B2E6E7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_2770EBF2D85E656BF536367132B2ABA6" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7C765CB527D5BB701946367132AAACB8" xlink:to="loc_us-gaap_AwardTypeAxis_2770EBF2D85E656BF536367132B2ABA6" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A60B0281935985FF1D22367132B31367_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_2770EBF2D85E656BF536367132B2ABA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A60B0281935985FF1D22367132B31367_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A60B0281935985FF1D22367132B31367" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_2770EBF2D85E656BF536367132B2ABA6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A60B0281935985FF1D22367132B31367" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_0735E5B6DCEDA9387E1D367132B3A96E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_A60B0281935985FF1D22367132B31367" xlink:to="loc_us-gaap_EmployeeStockOptionMember_0735E5B6DCEDA9387E1D367132B3A96E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeAxis" xlink:label="loc_srt_RangeAxis_0B6FA1A9FDA43C320890367132B3800A" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_7C765CB527D5BB701946367132AAACB8" xlink:to="loc_srt_RangeAxis_0B6FA1A9FDA43C320890367132B3800A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_F9F90E5CE5FB4881D94A367132B3ABA7_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_0B6FA1A9FDA43C320890367132B3800A" xlink:to="loc_srt_RangeMember_F9F90E5CE5FB4881D94A367132B3ABA7_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_RangeMember" xlink:label="loc_srt_RangeMember_F9F90E5CE5FB4881D94A367132B3ABA7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_0B6FA1A9FDA43C320890367132B3800A" xlink:to="loc_srt_RangeMember_F9F90E5CE5FB4881D94A367132B3ABA7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MaximumMember" xlink:label="loc_srt_MaximumMember_BEB4B8578471E99BE879367132B3DB6D" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_F9F90E5CE5FB4881D94A367132B3ABA7" xlink:to="loc_srt_MaximumMember_BEB4B8578471E99BE879367132B3DB6D" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/srt/2018/elts/srt-2018-01-31.xsd#srt_MinimumMember" xlink:label="loc_srt_MinimumMember_8D6A2CC8FF645890384A367132B301C1" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_F9F90E5CE5FB4881D94A367132B3ABA7" xlink:to="loc_srt_MinimumMember_8D6A2CC8FF645890384A367132B301C1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_7F5CE7DCB2CAEDFBC268367132B33F76" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_7F5CE7DCB2CAEDFBC268367132B33F76" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares_E7158940070456EC983B367132B376D2" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreaseShares_E7158940070456EC983B367132B376D2" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding_45FFDDB8A3BA59BEF4C9367132B3D169" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedAnnualIncreasePercentOfSharesOutstanding_45FFDDB8A3BA59BEF4C9367132B3D169" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_3D342D79CE80FC6E39C2367132B3EA98" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_3D342D79CE80FC6E39C2367132B3EA98" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward_532BC31E0724E7B6980C367132B3DC93" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermOfAward_532BC31E0724E7B6980C367132B3DC93" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_89CCF6CBD5D42AF163C5367132B39327" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod_89CCF6CBD5D42AF163C5367132B39327" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_875907B22BF99A8D7F59367132B3A541" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_875907B22BF99A8D7F59367132B3A541" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue_5B21B5430F9DF86889AD367132B39E32" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardStrikePriceAsPercentageOfMarketValue_5B21B5430F9DF86889AD367132B39E32" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance_B3E5B0FF7479E7C69D05367132B77563" xlink:type="locator" />
    <link:definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_EC5A246A829393287694367132B31D5A" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForIssuance_B3E5B0FF7479E7C69D05367132B77563" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationRestrictedStockDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6B4538A1E0C860BC728D35E653009A61" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6B4538A1E0C860BC728D35E653009A61" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_D2BC7FACEAAEA381212E35E65300229E" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6B4538A1E0C860BC728D35E653009A61" xlink:to="loc_us-gaap_VestingAxis_D2BC7FACEAAEA381212E35E65300229E" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_D2BC7FACEAAEA381212E35E65300229E" xlink:to="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_D2BC7FACEAAEA381212E35E65300229E" xlink:to="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheOneMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_05A6CB59BC9EC5A892DE35E653008995" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheOneMember_05A6CB59BC9EC5A892DE35E653008995" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheTwoMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_FC0C36F02AF5013D512B35E65300EF52" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheTwoMember_FC0C36F02AF5013D512B35E65300EF52" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationAwardTrancheThreeMember" xlink:label="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_229B6C92B65BD9F24D9E35E653001E09" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_514F8D486EF17C38768A35E6530071A1" xlink:to="loc_us-gaap_ShareBasedCompensationAwardTrancheThreeMember_229B6C92B65BD9F24D9E35E653001E09" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_30FBD1883C63CCBC067C35E65300D0AF" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_6B4538A1E0C860BC728D35E653009A61" xlink:to="loc_us-gaap_AwardTypeAxis_30FBD1883C63CCBC067C35E65300D0AF" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C5B23F5F9081FEA50AD35E653007B48_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_30FBD1883C63CCBC067C35E65300D0AF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C5B23F5F9081FEA50AD35E653007B48_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C5B23F5F9081FEA50AD35E653007B48" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_30FBD1883C63CCBC067C35E65300D0AF" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C5B23F5F9081FEA50AD35E653007B48" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_1F96412FBE08AC7900AF35E65300A711" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_7C5B23F5F9081FEA50AD35E653007B48" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_1F96412FBE08AC7900AF35E65300A711" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_D73AFBB756715D5AB6B135E65300AFED" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_D73AFBB756715D5AB6B135E65300AFED" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_DAB77628D55B1CEAC72035E65300C763" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_DAB77628D55B1CEAC72035E65300C763" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_D74469A204B2EAF753A535E65300DD16" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_D74469A204B2EAF753A535E65300DD16" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_F9BA439E4D4AAEC89BD535E6530047A4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_F9BA439E4D4AAEC89BD535E6530047A4" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_EEC00C8E04773B1DECA135E653001B12" xlink:type="locator" />
    <link:definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_EEC00C8E04773B1DECA135E653001B12" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_AF2348B90119A063404835E653001A6C" xlink:type="locator" />
    <link:definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_AF2348B90119A063404835E653001A6C" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_4BFFDC5B9797CFB2970C35E653004387" xlink:type="locator" />
    <link:definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_4BFFDC5B9797CFB2970C35E653004387" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_B7B38224F639DB82728A35E653002D01" xlink:type="locator" />
    <link:definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_2A54F1D0325EC868360335E653009557" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_B7B38224F639DB82728A35E653002D01" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationRestrictedStockUnitsAndRestrictedStockAwardsActivityDetails" xlink:type="extended">
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_979635EED0521BAE47B735E652F029B1" xlink:type="locator" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E89AF6F287BD8D422CD935E652F08974" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_979635EED0521BAE47B735E652F029B1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E89AF6F287BD8D422CD935E652F08974" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_405BC8E78E733F0CDDD835E652F0991A" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_E89AF6F287BD8D422CD935E652F08974" xlink:to="loc_us-gaap_AwardTypeAxis_405BC8E78E733F0CDDD835E652F0991A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_012941BB61AB9DDA63C735E652F0C0BD_default" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_405BC8E78E733F0CDDD835E652F0991A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_012941BB61AB9DDA63C735E652F0C0BD_default" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_012941BB61AB9DDA63C735E652F0C0BD" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_405BC8E78E733F0CDDD835E652F0991A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_012941BB61AB9DDA63C735E652F0C0BD" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_A3A722A4D034C7B68DA635E652F044C7" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_012941BB61AB9DDA63C735E652F0C0BD" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_A3A722A4D034C7B68DA635E652F044C7" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0706FC2E1A6A091D4F6335E652F0E100" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_979635EED0521BAE47B735E652F029B1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0706FC2E1A6A091D4F6335E652F0E100" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_EFDEB65C7351CB58568835E652F018A1" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0706FC2E1A6A091D4F6335E652F0E100" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_EFDEB65C7351CB58568835E652F018A1" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2E24BB7E2A6C8826333035E652F0CC22" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0706FC2E1A6A091D4F6335E652F0E100" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_2E24BB7E2A6C8826333035E652F0CC22" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_28F00FA622E15112208935E652F0E267" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0706FC2E1A6A091D4F6335E652F0E100" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_28F00FA622E15112208935E652F0E267" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_C469B7D8E92F301D7FC035E652F098D9" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_0706FC2E1A6A091D4F6335E652F0E100" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_C469B7D8E92F301D7FC035E652F098D9" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_8DE6C9A666139CC7AE7C35E652F0AC4A" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_979635EED0521BAE47B735E652F029B1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingNumber_8DE6C9A666139CC7AE7C35E652F0AC4A" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_E3A0022CBEB76EDEE8AA35E652F00E53" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_979635EED0521BAE47B735E652F029B1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_E3A0022CBEB76EDEE8AA35E652F00E53" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_01931330CEE6EB32A50135E652F07C44" xlink:type="locator" />
    <link:definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_E3A0022CBEB76EDEE8AA35E652F00E53" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_01931330CEE6EB32A50135E652F07C44" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_DBA62C2BBB86F26D931335E652F00F89" xlink:type="locator" />
    <link:definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_E3A0022CBEB76EDEE8AA35E652F00E53" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_DBA62C2BBB86F26D931335E652F00F89" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_EFC62D3C7FC5E152B62B35E652F08368" xlink:type="locator" />
    <link:definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_E3A0022CBEB76EDEE8AA35E652F00E53" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_EFC62D3C7FC5E152B62B35E652F08368" xlink:type="arc" />
    <link:loc xlink:href="http://xbrl.fasb.org/us-gaap/2018/elts/us-gaap-2018-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_652D4DAE5691B769B03C35E652F083CA" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_E3A0022CBEB76EDEE8AA35E652F00E53" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_652D4DAE5691B769B03C35E652F083CA" xlink:type="arc" />
    <link:loc xlink:href="qlys-20191231.xsd#qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice" xlink:label="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_DCF43D6F316B3E84671F35E652F0C1D4" xlink:type="locator" />
    <link:definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_979635EED0521BAE47B735E652F029B1" xlink:to="loc_qlys_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedAndExpectedToVestOutstandingWeightedAverageExercisePrice_DCF43D6F316B3E84671F35E652F0C1D4" xlink:type="arc" />
  </link:definitionLink>
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationShareRepurchaseProgramDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationStockOptionActivityDetails" xlink:type="extended" />
  <link:definitionLink xlink:role="http://www.qualys.com/role/StockholdersEquityAndStockBasedCompensationTables" xlink:type="extended" />
</link:linkbase>
